Control: forwarded -1 https://github.com/OpenPrinting/cups/pull/69 Control: tags -1 +patch
Le samedi, 12 décembre 2020, 13.38:52 h CET Wolfgang Schweer a écrit : > while working on Debian Edu 11 Bullseye, I noticed the cups service > failing randomly after rebooting the system (…): > > 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. Therefore, instead of patching CUPS for each-and-every user authentication/ provisioning service, could Debian Edu provide a systemd override file instead? Something like /etc/systemd/system/cups.service.d/debian-edu-nslcd.conf [Unit] Description=CUPS Scheduler service dependencies update for Debian Edu After=nslcd.service > 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. I have pushed this patch proposal to the (new) upstream: https://github.com/OpenPrinting/cups/pull/69 Of course, if upstream accepts this, I'll backport and upload to Debian. Best regards, OdyX
signature.asc
Description: This is a digitally signed message part.