[Bug 1270348] Re: failure when starting with expect stop doesn't respawn, but logs it will
Tom Most
1270348 at bugs.launchpad.net
Mon Jan 20 19:16:30 UTC 2014
** 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/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:
New
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