Public bug reported:
systemd-analyze always says "Bootup is not yet finished. Please try
again later." no matter how long I wait (hours, days, ...).
The graphical.target (default one) is indeed never reached due to
snapd.seeded.service still running:
$ systemctl list-jobs
JOB UNIT TYPE STATE
8 graphical.target start waiting
120 snapd.seeded.service start running
9 multi-user.target start waiting
174 ureadahead-stop.timer start waiting
117 systemd-update-utmp-runlevel.service start waiting
5 jobs listed.
To let the boot complete, I need to manually force a service stop with:
$ sudo systemctl stop snapd.seeded.service
Then, all the waiting jobs are fired and complete ~instantly thus
completing the boot process and fixing systemd-analyse:
$ systemctl list-jobs
No jobs running.
$ systemd-analyze
Startup finished in 3.360s (firmware) + 15.447s (loader) + 11.693s (kernel) +
2h 15min 59.902s (userspace) = 2h 16min 30.404s
graphical.target reached after 2h 15min 59.892s in userspace
So clearly something's wrong with snapd.seeded.service:
$ systemd-analyze blame | head
2h 15min 55.944s snapd.seeded.service
6.602s NetworkManager-wait-online.service
4.115s plymouth-quit-wait.service
3.624s [email protected]
2.458s systemd-udev-settle.service
2.403s systemd-cryptsetup@nvme0n1p4_crypt.service
1.265s dev-mapper-nvme0n1p3_crypt.device
839ms unbound.service
800ms fwupd.service
709ms dev-loop2.device
snapd's journal entries:
$ journalctl -b0 -u snapd | cat -
-- Logs begin at Tue 2018-10-23 09:45:59 EDT, end at Fri 2018-11-30 11:00:02
EST. --
Nov 30 08:32:54 simon-lemur systemd[1]: Starting Snappy daemon...
Nov 30 08:32:55 simon-lemur snapd[1952]: AppArmor status: apparmor is enabled
and all features are available
Nov 30 08:32:55 simon-lemur snapd[1952]: 2018/11/30 08:32:55.130505
helpers.go:521: cannot retrieve info for snap "gnome-characters": cannot find
installed snap "gnome-characters" at revision 103: missing file
/snap/gnome-characters/103/meta/snap.yaml
Nov 30 08:32:55 simon-lemur snapd[1952]: 2018/11/30 08:32:55.140720
daemon.go:343: started snapd/2.34.2+18.04 (series 16; classic) ubuntu/18.04
(amd64) linux/4.15.0-39-generic.
Nov 30 08:32:55 simon-lemur systemd[1]: Started Snappy daemon.
Nov 30 08:32:55 simon-lemur snapd[1952]: 2018/11/30 08:32:55.143355
stateengine.go:101: state ensure error: Get
https://api.snapcraft.io/api/v1/snaps/sections: dial tcp: lookup
api.snapcraft.io on 127.0.0.1:53: read udp 127.0.0.1:37197->127.0.0.1:53: read:
connection refused
Additional information:
$ lsb_release -rd
Description: Ubuntu 18.04.1 LTS
Release: 18.04
$ apt-cache policy snapd
snapd:
Installed: 2.34.2+18.04
Candidate: 2.34.2+18.04
Version table:
*** 2.34.2+18.04 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.32.5+18.04 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
$ snap list
Name Version Rev Tracking Publisher Notes
canonical-livepatch 8.0.2 41 stable canonical -
core 16-2.33.1 4917 stable canonical core
git-ubuntu 0.7.4+git16.0a79cbc 391 stable canonical classic
gnome-3-26-1604 3.26.0 70 stable/… canonical -
gnome-calculator 3.28.2 180 stable/… canonical -
lxd 3.2 7792 stable canonical -
vlc 3.0.4 555 stable videolan -
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: snapd 2.34.2+18.04
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 30 10:51:28 2018
InstallationDate: Installed on 2018-07-15 (138 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180714)
ProcEnviron:
LANG=en_CA.UTF-8
TERM=xterm-256color
SHELL=/bin/bash
XDG_RUNTIME_DIR=<set>
PATH=(custom, no user)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: snapd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1806070
Title:
snapd.seeded.service never completes preventing full boot to default
target
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1806070/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs