[Bug 406397] Re: init: job stuck with expect fork/daemon when parent reaps child

Peter Júnoš 406397 at bugs.launchpad.net
Wed Nov 23 14:31:32 UTC 2011

According to Mark Hurenkamp's comment, severity of this bug should be set to Critical.
Image your very important app got the same PID as non-existent process had.
Then Upstart:
- causes data corruption - imagine you are editing your photos and something kills your application during rewrite of a photo
- severely affects applications beyond the package responsible for the root cause - any application can be killed ("crashing") randomly

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.

  init: job stuck with expect fork/daemon when parent reaps child

Status in Upstart:
Status in “aiccu” package in Ubuntu:
Status in “upstart” package in Ubuntu:
Status in PLD Linux Distribution:

Bug description:

  Wrong use of the expect fork stanza can create job with status
    job stop/killled, process nnn
  without any process nnn running on the system.

  As an example the following avahi.conf should have used
  "expect daemon", but will instead create a stuck job.

  stop on stopping dbus-system
  expect fork
  exec avahi-daemon -D

  /Emil Renner Berthing

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list