init: pre-stop not run when no main process
Bug #252996 reported by
Scott James Remnant (Canonical)
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Triaged
|
Low
|
Unassigned |
Bug Description
The check for whether to run pre-stop relies on there being a main process defined, which is arguably a bug. We really care about the reason we were stopped.
Changed in upstart: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in upstart: | |
milestone: | none → 0.10 |
Changed in upstart: | |
milestone: | 0.10 → none |
summary: |
- pre-stop not run when no main process + init: pre-stop not run when no main process |
Changed in upstart: | |
status: | Confirmed → Triaged |
information type: | Public → Public Security |
information type: | Public Security → Public |
To post a comment you must log in.
I don't understand the comments. Overall I agree that pre-stop should only run to "stop" the process.
but what is the relation with the "stop reason" ?