The attached patch makes stopping a job from pre-stop work properly. Both stop and restart actions work as intended, and the test case in comment #4 still succeeds.
** Patch added: "Properly handle stopping a job from pre-stop." https://bugs.launchpad.net/upstart/+bug/568288/+attachment/3421612/+files/upstart-no-pre-stop-respawn.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/568288 Title: init: main process can respawn even when the job is stopping To manage notifications about this bug go to: https://bugs.launchpad.net/upstart/+bug/568288/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs