1494558 - CUPS may fail to start if NIS groups are used

This commit is contained in:
Zdenek Dohnal 2017-09-22 17:08:25 +02:00
commit c758482de6
2 changed files with 19 additions and 1 deletions

12
cups-ypbind.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up cups-2.2.0/scheduler/org.cups.cupsd.service.in.ypbind cups-2.2.0/scheduler/org.cups.cupsd.service.in
--- cups-2.2.0/scheduler/org.cups.cupsd.service.in.ypbind 2017-09-22 16:51:39.053585694 +0200
+++ cups-2.2.0/scheduler/org.cups.cupsd.service.in 2017-09-22 16:52:02.588403584 +0200
@@ -1,7 +1,7 @@
[Unit]
Description=CUPS Scheduler
Documentation=man:cupsd(8)
-After=network.target
+After=network.target ypbind.service
[Service]
ExecStart=@sbindir@/cupsd -l

View File

@ -15,7 +15,7 @@ Summary: CUPS printing system
Name: cups
Epoch: 1
Version: 2.2.2
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Url: http://www.cups.org/
Source0: https://github.com/apple/cups/releases/download/v%{VERSION}/cups-%{VERSION}-source.tar.gz
@ -63,6 +63,7 @@ Patch35: cups-ipp-multifile.patch
Patch36: cups-web-devices-timeout.patch
Patch37: cups-synconclose.patch
Patch38: cups-resolv_reload.patch
Patch39: cups-ypbind.patch
Patch100: cups-lspp.patch
@ -258,6 +259,8 @@ Sends IPP requests to the specified URI and tests and/or displays the results.
%patch37 -p1 -b .synconclose
# CUPS does not recognize changes to /etc/resolv.conf until CUPS restart (bug #1437065)
%patch38 -p1 -b .resolv_reload
# CUPS may fail to start if NIS groups are used (bug #1494558)
%patch39 -p1 -b .ypbind
%if %{lspp}
# LSPP support.
@ -623,6 +626,9 @@ rm -f %{cups_serverbin}/backend/smb
%{_mandir}/man5/ipptoolfile.5.gz
%changelog
* Fri Sep 22 2017 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.2.2-7
- 1494558 - CUPS may fail to start if NIS groups are used
* Thu Apr 27 2017 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.2.2-6
- copying cups-resolv_reload.patch from RHEL