cups upstart post-start script hangs forever when local socket is disabled
Bug #672438 reported by
sutupud
This bug affects 12 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
Bug Description
Binary package hint: cups
the post-start script of the cupsd daemon waits for /var/run/
as it was my case, if listening on that socket is turned of in the configuration, the post-start script waits forever and trying to stop or restart the daemon via upstart tools fails.
shouldn't the script rather wait for /var/run/
CVE References
Changed in cups (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
Changed in cups (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
But you can just as well disable the pid file in cups. Disabling the local socket is pretty evil, since that will immediately break all the cups command line tools (you'd always have to specify "-h localhost"). Without the local socket there is no way that we can check when the daemon is ready to accept requests, and the remainder of the script won't work either.