snap stop <snap>.<svc> does not create a change associated with <snap>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Medium
|
Maciej Borzecki |
Bug Description
If I run `snap restart lxd`, the change that is generated is visible from `snap changes lxd`, however if I run `snap stop lxd.daemon` the change that is generated is not visible from `snap changes lxd`. Observe:
$ snap stop lxd.daemon
Stopped.
$ snap changes
ID Status Spawn Ready Summary
18815 Done today at 07:39 CDT today at 07:39 CDT Running service command
$ snap changes lxd
error: no changes found
$ snap restart lxd
Restarted.
$ snap changes
ID Status Spawn Ready Summary
18815 Done today at 07:39 CDT today at 07:39 CDT Running service command
18816 Done today at 07:40 CDT today at 07:40 CDT Running service command
$ snap changes lxd
ID Status Spawn Ready Summary
18816 Done today at 07:40 CDT today at 07:40 CDT Running service command
description: | updated |
summary: |
- snap stop <snap> does not create a change associated with <snap> + snap stop <snap>.<svc> does not create a change associated with <snap> |
Changed in snapd: | |
status: | New → Confirmed |
assignee: | nobody → Maciej Borzecki (maciek-borzecki) |
Changed in snapd: | |
status: | Confirmed → In Progress |
Changed in snapd: | |
status: | In Progress → Fix Committed |
Changed in snapd: | |
milestone: | none → 2.46 |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
Opened a PR to address this: https:/ /github. com/snapcore/ snapd/pull/ 8766