Snappy does not deal well with non-existing/non-working daemon command

Bug #1570261 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
High
Unassigned

Bug Description

Snappy does not deal well with non-existing/non-working daemon command

daniel@daydream:~$ sudo snap remove twine
error: cannot perform the following tasks:
- Deactivating "twine" ([--root / disable snap.twine.twineserver.service] failed with exit status 1: Failed to execute operation: No such file or directory
)
daniel@daydream:~$ snap list
Name Version Developer
cap-test 2.2b1-3.16.04.7 mvo
moon-buggy 1.0.51.7 dholbach
twine 2.0.11-hg sideload
ubuntu-core 16.04.0-24 canonical
daniel@daydream:~$ sudo snap remove twine
error: cannot find active snap for "twine"
daniel@daydream:~$

Apr 14 11:36:16 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ POST /v2/snaps/twine 328.232µs 202
Apr 14 11:36:16 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/a73d3ac4-5c4f-4401-1dea-60f196ab7890 232.988µs 200
Apr 14 11:36:16 daydream /usr/lib/snappy/snapd[12506]: overlord.go:264: Failed to remove services for "twine": [--root / disable snap.twine.twineserver.service] failed with exit status 1: Failed to execute operation: No such file or directory
Apr 14 11:36:16 daydream snapd[12506]: 2016/04/14 11:36:16.801882 overlord.go:264: Failed to remove services for "twine": [--root / disable snap.twine.twineserver.service] failed with exit status 1: Failed to execute operation: No such file or directory
Apr 14 11:36:16 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/a73d3ac4-5c4f-4401-1dea-60f196ab7890 270.547µs 200
Apr 14 11:36:16 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/a73d3ac4-5c4f-4401-1dea-60f196ab7890 613.396µs 200
Apr 14 11:36:25 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=1000;@ GET /v2/snaps?sources=local 128.808516ms 200
Apr 14 11:36:33 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ POST /v2/snaps/twine 341.126µs 202
Apr 14 11:36:33 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/b43ba0cf-a004-2802-4f43-3930776caeaa 227.665µs 200
Apr 14 11:36:33 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/b43ba0cf-a004-2802-4f43-3930776caeaa 332.402µs 200
Apr 14 11:36:35 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=1000;@ GET /v2/snaps?sources=local 168.780183ms 200
Apr 14 11:36:37 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ POST /v2/snaps/twine 271.221µs 202
Apr 14 11:36:37 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/3c8f570b-75e2-0ca1-7b6a-0a57dbcaffc5 168.504µs 200
Apr 14 11:36:37 daydream /usr/lib/snappy/snapd[12506]: daemon.go:148: DEBUG: uid=0;@ GET /v2/operations/3c8f570b-75e2-0ca1-7b6a-0a57dbcaffc5 421.301µs 200

Revision history for this message
Daniel Holbach (dholbach) wrote :
Michael Vogt (mvo)
Changed in snappy:
status: New → Triaged
importance: Undecided → High
milestone: none → sru-1
Michael Vogt (mvo)
Changed in snappy:
milestone: sru-1 → sru-2
Revision history for this message
Michael Vogt (mvo) wrote :
Changed in snappy:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments