Attached is a cups upstart job that avoids the need for polling in the
post-start script by using 'expect daemon', which is how this *should*
work.  However, there seem to be a pair of bugs preventing this from
working as designed.  First, upstart does not wait until cups is
daemonized before considering the main process started; this may have to
do with the fact that cups re-execs itself with different arguments
(strange?).  Second, even though cupsd immediately dies with a symbol
error, upstart marks the job as "running" with no PID.

We still need to fix the libcups2/cups package relationships regardless,
and we should probably just leave the cups upstart job alone for now.
I'll raise bugs on upstart for the discovered issues.

** Attachment added: "cups.conf"
   
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/854490/+attachment/2432344/+files/cups.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/854490

Title:
  update from natty to oneiric hangs on libpam0g upgrade and cups reload

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/854490/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to