Quotes are crucial in the exec line of the .conf file.
The bug is reproducible with

expect fork
exec /bin/sh -c "exit"

But never happens for the following .conf

expect fork
exec /bin/sh -c exit

Quotes (or $ in the original ureadahead-other.conf) force
upstart to add shell wrapping. First time it leads to

lazy-daemon main process (3673) executable changed

I have no guess why during the second launch
job_process_trace_fork() is called instead of
job_process_trace_exec()

lazy-daemon main process (3681) became new process (3682)

I have not notice any variable within init (upstart) that may
control this behavior. Perhaps it is due to libnih.

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

Title:
  upstart fails to track premature exit ('mount: / is busy' during
  shutdown)

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

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

Reply via email to