I run Ubuntu 16.04 but never installed any snap packages, at least not that I would know of any.
Here are my slowest processes at boot:
$ systemd-analyze blame | head
9.057s snapd.refresh.service
5.058s NetworkManager-wait-online.service
1.126s dev-sdb5.device
822ms storage.mount
804ms data.mount
397ms gpu-manager.service
390ms apt-daily.service
363ms systemd-rfkill.service
334ms systemd-fsck@dev-disk-by\x2duuid-B023\x2d3905.service
251ms accounts-daemon.service
Obviously snapd.refresh.service
is taking a huge amount of time compared to the rest, especially as I have no need for snaps anyway.
How can I disable all snap related stuff to speed my boot time up?
Best Answer
There's no need to disable it to speed up the boot. This was a mistake on our part, and has been fixed in 2.11, out for updating in the next couple of days. Here is the full change log:
https://github.com/snapcore/snapd/blob/2.11/debian/changelog