Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
systemd support: cups.path needs a "PartOf=cups.service" in the [Unit] section to assure clean shutdown of CUPS #4935
Comments
michaelrsweet
self-assigned this
Dec 20, 2016
michaelrsweet
added
the
P3 - Moderate
label
Dec 20, 2016
michaelrsweet
added this to the
2.2 milestone
Dec 20, 2016
|
Scheduled for the next 2.2.x release. |
added a commit
that referenced
this issue
Jan 3, 2017
michaelrsweet
closed this
Jan 3, 2017
|
(the pushed change also adds this to the org.cups.cups-lpd.socket file for the org.cups.cups-lpd.service) |
added a commit
to endlessm/eos-customer-support
that referenced
this issue
Oct 19, 2017
mariospr
referenced this issue
in endlessm/eos-customer-support
Oct 19, 2017
Merged
Manually stop the cups.socket and cups.path units before stopping cups #7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tillkamppeter commentedDec 19, 2016
The problem of the Ubuntu bug report
https://bugs.launchpad.net/ubuntu/+source/init-system-helpers/+bug/1642966
is not due of CUPS' keepalive file (Issue #4930) but needs a change in the cups.path unit file. The line "PartOf=cups.service" needs to be added to the [Unit] section, telling that cups.path belongs to CUPS (main unit cups.service) and so cups.path gets started/stopped/restarted whenever cups.service gets started/stopped/restarted.
This means that if cups,service gets stopped, cups.path gets stopped and so CUPS stays stopped and does not get re-triggered immediately by cups.path. On next boot everything gets started and so cups.path starts CUPS on the presence of the keepalive file.
So the cups.path file has to look like this: