1949053 - CUPS doesn't start if sssd starts after cupsd

Resolves: rhbz#1949053
This commit is contained in:
Zdenek Dohnal 2021-04-26 13:08:50 +02:00
parent 10f4dbbcf8
commit 416d190458
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/scheduler/cups.service.in b/scheduler/cups.service.in
index a3fa0e8..baff51b 100644
--- a/scheduler/cups.service.in
+++ b/scheduler/cups.service.in
@@ -1,7 +1,7 @@
[Unit]
Description=CUPS Scheduler
Documentation=man:cupsd(8)
-After=network.target sssd.service ypbind.service nslcd.service
+After=network.target nss-user-lookup.target nslcd.service
Requires=cups.socket
[Service]

View File

@ -17,7 +17,7 @@ Summary: CUPS printing system
Name: cups
Epoch: 1
Version: 2.3.3%{OP_VER}
Release: 4%{?dist}
Release: 5%{?dist}
License: ASL 2.0
Url: http://www.cups.org/
# Apple stopped uploading the new versions into github, use OpenPrinting fork
@ -71,6 +71,8 @@ Patch100: cups-lspp.patch
%endif
#### UPSTREAM PATCHES (starts with 1000) ####
# 1949053 - CUPS doesn't start if sssd starts after cupsd
Patch15: cups-nssuserlookup-target.patch
##### Patches removed because IMHO they aren't no longer needed
##### but still I'll leave them in git in case their removal
@ -271,6 +273,8 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in
%patch13 -p1 -b .dymo-deviceid
# add [Job N] to logs
%patch14 -p1 -b .logs
# 1949053 - CUPS doesn't start if sssd starts after cupsd
%patch15 -p1 -b .nsslookup
# UPSTREAM PATCHES
@ -670,6 +674,9 @@ rm -f %{cups_serverbin}/backend/smb
%{_mandir}/man7/ippeveps.7.gz
%changelog
* Mon Apr 26 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.3.3op2-5
- 1949053 - CUPS doesn't start if sssd starts after cupsd
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.3.3op2-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937