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

Bug #712351 reported by ensc
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Cameron Norman
upstart (Ubuntu)

Bug Description

Errors in the startup phase (before SIGSTOP) will not be detected when the respawn option is specified:

--- /etc/init/test.conf
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
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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments