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

Bug #712351 reported by ensc on 2011-02-03
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
upstart
Medium
Cameron Norman
upstart (Ubuntu)
Undecided
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
Cameron Norman (cameronnemo) wrote :
tags: added: patch
Changed in upstart:
assignee: nobody → Cameron Norman (cameronnemo)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments