Comment 38 for bug 1873550

Revision history for this message
bitterhalt (bitterhalt) wrote (last edit ):

I installed Ubuntu 21.10 a week a go and I got this massive delay with every reboot because of snap deamon hang.

journalctl -e --no-pager -b -1 -u snapd
-- Journal begins at Sat 2021-12-25 12:56:07 EET, ends at Sun 2021-12-26 01:11:31 EET. --
joulu 25 23:24:24 bazz-ser systemd[1]: Starting Snap Daemon...
joulu 25 23:24:24 bazz-ser snapd[949]: AppArmor status: apparmor is enabled and all features are available
joulu 25 23:24:24 bazz-ser snapd[949]: daemon.go:242: started snapd/2.53+21.10ubuntu1 (series 16; classic) ubuntu/21.10 (amd64) linux/5.13.0-22-generic.
joulu 25 23:24:24 bazz-ser snapd[949]: daemon.go:335: adjusting startup timeout by 1m15s (pessimistic estimate of 30s plus 5s per snap)
joulu 25 23:24:24 bazz-ser systemd[1]: Started Snap Daemon.
joulu 25 23:26:47 bazz-ser snapd[949]: storehelpers.go:710: cannot refresh: snap has no updates available: "bare", "btop", "core", "core18", "core20", "gnome-3-28-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store"
joulu 25 23:26:47 bazz-ser snapd[949]: storehelpers.go:710: cannot refresh: snap has no updates available: "bare", "btop", "core", "core18", "core20", "gnome-3-28-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store"
joulu 25 23:26:50 bazz-ser snapd[949]: storehelpers.go:710: cannot refresh: snap has no updates available: "bare", "btop", "core", "core18", "core20", "gnome-3-28-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store"
joulu 25 23:40:28 bazz-ser snapd[949]: api_snaps.go:307: Installing snap "brave" revision unset
joulu 25 23:40:40 bazz-ser snapd[949]: api_snaps.go:307: Installing snap "brave" revision unset
joulu 25 23:40:49 bazz-ser snapd[949]: api_snaps.go:307: Installing snap "brave" revision unset
joulu 26 01:06:42 bazz-ser snapd[949]: storehelpers.go:710: cannot refresh: snap has no updates available: "bare", "brave", "btop", "core", "core18", "core20", "gnome-3-28-1804", "gnome-3-38-2004", "gtk-common-themes", "snap-store"
joulu 26 01:06:46 bazz-ser systemd[1]: Stopping Snap Daemon...
joulu 26 01:06:46 bazz-ser snapd[949]: main.go:155: Exiting on terminated signal.
joulu 26 01:07:11 bazz-ser snapd[949]: daemon.go:544: WARNING: cannot gracefully shut down in-flight snapd API activity within: 25s
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: State 'stop-sigterm' timed out. Killing.
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: Killing process 949 (snapd) with signal SIGKILL.
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: Main process exited, code=killed, status=9/KILL
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: Failed with result 'timeout'.
joulu 26 01:08:16 bazz-ser systemd[1]: Stopped Snap Daemon.
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: Triggering OnFailure= dependencies.
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: Failed to enqueue OnFailure= job, ignoring: Transaction for snapd.failure.service/start is destructive (cryptsetup.target has 'stop' job queued, but 'start' is included in transaction).
joulu 26 01:08:16 bazz-ser systemd[1]: snapd.service: Consumed 8.005s CPU time.
bazz@bazz-ser:~$