[Bug 1270348] Re: failure when starting with expect stop doesn't respawn, but logs it will
Launchpad Bug Tracker
1270348 at bugs.launchpad.net
Thu Jun 22 23:33:57 UTC 2017
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: upstart (Ubuntu)
Status: New => Confirmed
--
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/1270348
Title:
failure when starting with expect stop doesn't respawn, but logs it
will
Status in upstart :
New
Status in upstart package in Ubuntu:
Confirmed
Bug description:
Consider this job (also attached):
script
sleep 10
exit 1
end script
expect stop
respawn
If started this will pause for 10 seconds, then print
"started/running" state:
$ sudo initctl start bug
bug start/running
However, it is recorded as failed in syslog:
Jan 17 19:20:26 localhost kernel: [276823.832916] init: bug main process (11410) terminated with status 1
Jan 17 19:20:26 localhost kernel: [276823.832930] init: bug main process ended, respawning
But it isn't running, didn't actually respawn, and never does.
To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1270348/+subscriptions
More information about the foundations-bugs
mailing list