pre-stop exec false => should prevent the job getting stopped

Bug #1294753 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
New
Undecided
Unassigned

Bug Description

A simple job:
pre-stop exec false

Should be impossible to stop. Yet the job ends up in "stop/waiting" state if stopped interactively or via "stop on" event, with or without main process running.

Revision history for this message
James Hunt (jamesodhunt) wrote :

I think you may have just provided the rationale for not doing this: having a job that is "unstoppable" sounds dangerous.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Hm, but it would be dangerous to have unstoppable jobs, thus:

start on stopped/failed mytestjob
pre-stop exec false

Is good enough for me, actually.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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