Reboot experience on core or kernel refresh

A snap refresh invocation requiring a reboot (because it refreshes core or kernel on a core device) ATM hangs waiting for the reboot which is scheduled for 10 minutes later. (see also Snap refresh core hangs until reboot timeout )

The current behaviour was the result of fixing some more serious bugs while keeping preexisting behaviour but we do plan to improve on this:

  • the command will terminate saying we are about to reboot, and reboot will happen more quickly (seconds, not minutes)

  • because we need that for our own tests there will be some way to control the reboot (haven’t thought through which way exactly yet)

1 Like

I proposed this, that follows what was sketched in the description:

https://github.com/snapcore/snapd/pull/4497

that has now landed and will be in 2.33, for now reboot delay will be 1 minute