Can running "sudo snap refresh" require reboot?


#1

I have some snaps installed.

If I run “sudo snap refresh”, is it possible that I will have to reboot? I believe running “sudo snap refresh” will never require a reboot. Correct me if I am wrong. I am not an expert, I am an user. I think running “sudo snap refresh” is always supposed to be restartless.

And if reboot is required how will I know that?

I use Ubuntu Trusty. When I need to reboot because of running “sudo apt-get update” and then “sudo apt-get upgrade --with-new-pkgs”, there is a GUI popup telling me to reboot. If you want to see the popup program it is called “Software Updater”. You can start “Software Updater” by opening a terminal and running “update-manager”.


#2

As the resources shipped in the snaps are not shared with the system, it should be unnecessary to reboot the system after refreshing snaps.


#3

What if “core” or “core18” gets updated? Can you give me a link to the official notes on this?


#4

If the core snap is updated only the snapd daemon is required to restart IIRC.

I don’t know if this is mentioned in any of the official docs, this seems to be an architecture design issue to me.