[Bug 712351] Re: init: exit not detected with 'expect stop' and 'respawn'

Chris J Arges 712351 at bugs.launchpad.net
Wed Sep 12 16:06:02 UTC 2018


** Also affects: upstart (Ubuntu)
   Importance: Undecided
       Status: New

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

Title:
  init: exit not detected with 'expect stop' and 'respawn'

Status in upstart :
  Triaged
Status in upstart package in Ubuntu:
  New

Bug description:
  Errors in the startup phase (before SIGSTOP) will not be detected when
  the respawn option is specified:

  --- /etc/init/test.conf
  respawn
  expect stop
  exec /bin/false
  ---

  # /sbin/initctl start test
  test start/running
  # /sbin/initctl start test
  initctl: Job is already running: test
  # /sbin/initctl list
  ...
  test start/running

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



More information about the foundations-bugs mailing list