[Pkg-systemd-maintainers] [RFC] cups systemd socket activation patch

Didier 'OdyX' Raboud odyx at debian.org
Sun Feb 23 15:38:01 GMT 2014


Hi again dear systemd maintainers,
(please make sure to CC debian-printing and pkg-systemd-maintainers
when answering)

Le mardi, 18 février 2014, 16.18:58 Didier 'OdyX' Raboud a écrit :
> as suggested by Michael on IRC, here I am with my initial import of
> Lennart's patch to enable socket activation in CUPS. The current
> status can be fetched from the master-systemd branch on the cups
> packaging repository:
> 
> 	http://anonscm.debian.org/gitweb/?p=pkg-cups/cups.git;a=commitdiff;h=refs/heads/master-systemd

I have now included Till's "Exit-on-Idle" patch and added a patch to let 
a systemd-activated cups to exit after 30 seconds.

These questions stand though; opinions?

> * /etc/default/cups handles LOAD_LP_MODULE to enable or disable the
> loading of the "lp" module for parallel printers; how should this be
> handled?
> 
> * /etc/init.d/cups handles a udev trigger which commit message was:
> > debian/cups.init.d: Trigger udev event for all USB printers right
> > after starting the CUPS daemon to run the udev callouts for the
> > printers. This allows automatic print queue setup and re-enabling
> > print queues also if the printer is cold-plugged (connected before
> > CUPS and/or udev got started).
> 
> How would this be handled in the systemd scheme?

Cheers,

OdyX




More information about the Pkg-systemd-maintainers mailing list