snap stop --disable svc with timer doesn't disable the timer
Bug #1842258 reported by
Ian Johnson
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Released
|
Medium
|
Philip Meulengracht |
Bug Description
With a service/daemon in a snap declared with a timer, `snap stop --disable` does not prevent future starts from the timer. To reproduce:
1. Install a snap with a timer service run every minute, with the service just sleeping for 30 seconds
2. Run `snap stop --disable $SNAP.$SVC`
3. Observe the service is still active with `systemctl status snap.$SNAP.
Changed in snapd: | |
status: | New → Triaged |
Changed in snapd: | |
assignee: | nobody → Ian Johnson (anonymouse67) |
Changed in snapd: | |
importance: | Undecided → Medium |
Changed in snapd: | |
assignee: | Ian Johnson (anonymouse67) → nobody |
Changed in snapd: | |
assignee: | nobody → Philip Meulengracht (the-meulengracht) |
To post a comment you must log in.
As a consequence of this, `snap services $SNAP.$SVC` reports that the service is "disabled" after running `snap stop --disable` even though the timer is not disabled