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

Reported by ensc on 2011-02-03
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
upstart
Medium
Unassigned

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

summary: - failed startup not detected with 'expect stop' + 'respawn'
+ init: exit not detected with 'expect stop' and 'respawn'
Changed in upstart:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers