[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977198: marked as done (cups service should start after nslcd service)



Your message dated Wed, 23 Dec 2020 14:23:53 +0000
with message-id <E1ks53R-0008jg-8t@fasolo.debian.org>
and subject line Bug#977198: fixed in cups 2.3.3op1-4
has caused the Debian Bug report #977198,
regarding cups service should start after nslcd service
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
977198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977198
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 2.3.3op1-3
Severity: normal
Tags: patch
User: debian-edu@lists.debian.org
Usertags: debian-edu

Dear Maintainer,

while working on Debian Edu 11 Bullseye, I noticed the cups service 
failing randomly after rebooting the system:

● cups.service - CUPS Scheduler
     Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2020-12-12 10:25:50 CET; 3min 46s ago
TriggeredBy: ● cups.path
             ● cups.socket
       Docs: man:cupsd(8)
    Process: 1201 ExecStart=/usr/sbin/cupsd -l (code=exited, status=1/FAILURE)
   Main PID: 1201 (code=exited, status=1/FAILURE)

Dez 12 10:25:50 tjener.intern systemd[1]: Failed to start CUPS Scheduler.
Dez 12 10:25:50 tjener.intern systemd[1]: cups.service: Scheduled restart job, restart counter is at 5.
Dez 12 10:25:50 tjener.intern systemd[1]: Stopped CUPS Scheduler.
Dez 12 10:25:50 tjener.intern systemd[1]: cups.service: Start request repeated too quickly.
Dez 12 10:25:50 tjener.intern systemd[1]: cups.service: Failed with result 'exit-code'.
Dez 12 10:25:50 tjener.intern systemd[1]: Failed to start CUPS Scheduler.

Debian Edu uses an LDAP group printer-admins in cups-files.conf like so:

SystemGroup lpadmin printer-admins

Please note that Debian Edu uses nslcd.

After adding the nslcd.service (in addition to sssd.service and 
ypbind.service) to the cups.service unit file, things work like 
expected, this is the proposed change:

diff --git a/scheduler/cups.service.in b/scheduler/cups.service.in
index 9e70b2973..a3fa0e83f 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
+After=network.target sssd.service ypbind.service nslcd.service
 Requires=cups.socket
 
 [Service]

Please check if the change could be accepted.

Wolfgang

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: cups
Source-Version: 2.3.3op1-4
Done: Didier Raboud <odyx@debian.org>

We believe that the bug you reported is fixed in the latest version of
cups, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 977198@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Dec 2020 14:53:09 +0100
Source: cups
Architecture: source
Version: 2.3.3op1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 977198
Changes:
 cups (2.3.3op1-4) unstable; urgency=medium
 .
   * Drop ancient manual link-doc setting in cups-bsd.postinst
   * Let cups.service start after nslcd.service (Closes: #977198)
Checksums-Sha1:
 cc36a2503699efc1d1821509fd73b1d6658ea833 3468 cups_2.3.3op1-4.dsc
 6cc7a0a3512e4074f08dbdde85d6bc3ad100f761 345196 cups_2.3.3op1-4.debian.tar.xz
Checksums-Sha256:
 71a3de566bbfcdbca33403125e9e3b568577d731c7da170f803e09a6e888ca9e 3468 cups_2.3.3op1-4.dsc
 746e288c01ab62002212b15bcbb1729bc99cfd9cad0734ee957c64a46c15ea62 345196 cups_2.3.3op1-4.debian.tar.xz
Files:
 0104176de20457d25cdee7ddd7fa1cd9 3468 net optional cups_2.3.3op1-4.dsc
 79a2495b47904c9ae825d89bd374c8bd 345196 net optional cups_2.3.3op1-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAl/jTUAACgkQqcb6xg1j
AWmdgA//ZNHUu5z9DjYwHOv6hta78HPOLegwS7f1UkHQ9gww2EwrW30ixT5StcIX
LPyqPLp/hlG2wSP7G2DaYYVDSyblf8Mo+2J7icgQuN28KNZTpJB/u+ebaWesviG9
6HWQ4eAKrLctEolq8Jt7RZzi6yh6x2pdl+SpBaycet6AmKMBcNS37OYLNwcEmE+C
G19v2ll/gAWlOT+cxI0kHCiokwSmUNrPW+B5s1svwMIMRh+197u02XiBnKkITpyk
LBtx9+hyOfrPFJDd4e9TrLZPcn2XzOVFWylRFQEqZdJv5dR3Se3a+jdgVNhg2bEZ
1BEQjQ7VAVJilwzqwtgnEhbOR5lOf9RMr8omMLLKH2j1itSJ7QhOMPgb0HWJCToB
oMOq4HXcSTRRm5bi92I0g1+yt2ahrUO6bF4Wl3eWazdXMEgEHsnxDtcvNIYBpvng
AoWzbK3LoNqyD8Ep1ddG4E4poHxYuSZAH4Jfn3DGmD5rRN0CPgY3qT1td6riSKlp
l9FTc+MZTObzEV019CG9EUzi2DGbUxQp9G5o4VvS1chwx6aO8ynWag+U+o9MeJfo
uvY4R0AvK5sGLI8Oe3HI/pAnGIPer+eqMMjpYCF5DQ7YVY5veszMOifLfUdKb4C1
dIhi7zF8jdFoGjs6agcXRlzciXPUhlv03OuCjQ6pZiG2QqLonu4=
=mTgf
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: