Refreshing core in edge waiting on "...security profiles (phase 2)"

Bug #1792439 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Undecided
Unassigned

Bug Description

On stable, I can `snap refresh core` and it will exit after having scheduled a reboot, so the user can reboot themselves to speed the process up.

On edge, refreshing core schedules a reboot, but then the command stays on "Setup snap "core" (...) security profiles (phase 2)" with the throbber going back and forth, it's unclear what can the user do. Would Ctrl+C interrupt the upgrade? Do I have to wait for the reboot?

====

saviq@localhost:~$ snap refresh core
Setup snap "core" (5490) security profiles
Broadcast message from <email address hidden> (Thu 2018-09-13 18:48:13 UTC):

reboot scheduled to update the system - temporarily cancel with 'sudo shutdown -c'
The system is going down for reboot at Thu 2018-09-13 18:58:13 UTC!

2018-09-13T18:48:13Z INFO Waiting for restart...
2018-09-13T18:48:26Z INFO Waiting for restart...
2018-09-13T18:48:28Z INFO Waiting for restart...
2018-09-13T18:48:29Z INFO Waiting for restart...
Setup snap "core" (5490) security profiles (phase 2)
Broadcast message from <email address hidden> (Thu 2018-09-13 18:48:30 UTC):

reboot scheduled to update the system - temporarily cancel with 'sudo shutdown -c'
The system is going down for reboot at Thu 2018-09-13 18:58:30 UTC!

2018-09-13T18:48:30Z INFO Waiting for restart...
Setup snap "core" (5490) security profiles (phase 2)
Broadcast message from <email address hidden> (Thu 2018-09-13 18:49:30 UTC):

reboot scheduled to update the system - temporarily cancel with 'sudo shutdown -c'
The system is going down for reboot at Thu 2018-09-13 18:58:30 UTC!

Setup snap "core" (5490) security profiles (phase 2)

Revision history for this message
Michael Vogt (mvo) wrote :

We reworked the way to present this and `snap refresh core` does no longer hang in this strange state.

Changed in snapd:
status: New → Fix Committed
Changed in snapd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.