]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
[Fedora] cups.service.in: Start cupsd after NIS is started
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 25 Nov 2020 08:31:31 +0000 (09:31 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 25 Nov 2020 08:31:31 +0000 (09:31 +0100)
If an user has a NIS group as SystemGroup in cups-files.conf, then cupsd fails to start if it is activated before ypbind service. Setting 'After=ypbind.service' sets unit's order to cupsd being started after ypbind.

Fedora bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1494558

scheduler/cups.service.in

index 9609d8ee7fb5e3506c877a6309d2c646df9c6bd9..9e70b29731675c98bad595f9cbeaf7cb38fa7503 100644 (file)
@@ -1,7 +1,7 @@
 [Unit]
 Description=CUPS Scheduler
 Documentation=man:cupsd(8)
-After=network.target sssd.service
+After=network.target sssd.service ypbind.service
 Requires=cups.socket
 
 [Service]