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

Bug #712351 reported by ensc
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
upstart
Triaged
Medium
Cameron Norman
upstart (Ubuntu)
New
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

Tags: patch
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.