`stop` and `disable` should kill all processes regardless of daemon stop-mode
Bug #1776295 reported by
Christopher Townsend
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In Multipass, a daemon is set to use `stop-mode: sigterm`, but when issuing `snap stop multipass` or `snap disable multipass`, any processes spawned by the daemon stay alive. This seems wrong since the user is explicitly wanting the whole snap stopped or disabled.
Changed in snapd: | |
status: | Incomplete → New |
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Should you use "stop-mode: sigterm-all" instead? This will send the signal to all the tasks in the control group.