snap command doesn't finish when snapd already gave up
Bug #1592088 reported by
Chad Miller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Install "hello-world". In one terminal, run hello-world.sh and "cd $SNAP" in it.
In another terminal, run "snap remove hello-world". Notice that it doesn't quit. Snapd prints something about not being able to unmount, and it hangs or crashes or something.
It is not waiting for the running "sh" process to finish. You can now go back to the other terminal and exit the shell. (Wait a few minutes, and exit that terminal too. This might matter somehow!)
Now nothing is holding open the umount request, but the running "snap" command doesn't finish.
You're forced to control-c the snap request. There's a good possibility that the snap state is stuck somehow until next reboot (for a normal user).
description: | updated |
Changed in snapd (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can reproduce with the current release of snapd (2.13). Indeed, looking at 'snap changes', snapd is stuck on: 02T16:34: 26Z - Remove "hello-world" snap
213 Doing 2016-09-
However, this problem appears to be fixed with current snapshot of the code (the upcoming 2.14)!