running "snap refresh core" on an UbuntuCore device locks you out until reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
if you run "snap refresh core" on a current UbuntuCore install you never get access to the prompt back until the system rebooted into the new core.
there is a "[/] Setup snap "core" (1829) security profiles (phase 2)" message owning the console until the reboot kicks in. at the same time the shceduled reboot locks down ssh access (any ssh attampt is only answered with: "System is going down.")
the snap refresh command used to give you console access back before so you could issue "sudo shutdown -c" if you did not want a reboot yet. this is not possible anymore with the current behaviour.
if it is desired behaviour to not allow the user to intercept the reboot (which i dont belive it is) then
"reboot scheduled to update the system - temporarily cancel with 'sudo shutdown -c'"
should be changed to not indicate you can still interact with the system ...
if it is not desired behaviour the bug should be fixed :)
at http://
Changed in snapd: | |
status: | New → Confirmed |
doing another test, i just noticed, hitting ctrl-c wildly eventually gets me the console back, so it seems to only randomly accept it ...
(before it actually simply finished the "security profiles (phase 2)" task on its own though, without the need to ctrl-c at all)