Public bug reported: When launching an lxd container on non-amd64 architectures, snapd.seeded.service hangs during "boot" time and never finishes, which ends up impacting other systemd units.
This bug was found while investigating what I thought was a cloud-init problem, because after launching a container I'd see: # cloud-init status status: running and the status would never transition to "done". James Falcon (cloud- init dev) helped with the investigation and found that snapd was actually the culprit here. One can check it by doing: # systemd-analyze blame Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0). Please try again later. Hint: Use 'systemctl list-jobs' to see active jobs # systemctl list-jobs JOB UNIT TYPE STATE 102 cloud-init.target start waiting 110 cloud-final.service start waiting 2 multi-user.target start waiting 131 snapd.autoimport.service start waiting 103 cloud-config.service start waiting 1 graphical.target start waiting 111 snapd.seeded.service start running 141 systemd-update-utmp-runlevel.service start waiting 8 jobs listed. # systemctl status snapd.seeded.service ● snapd.seeded.service - Wait until snapd is fully seeded Loaded: loaded (/lib/systemd/system/snapd.seeded.service; enabled; vendor preset: enabled) Active: activating (start) since Fri 2021-09-17 19:46:40 UTC; 24min ago Main PID: 336 (snap) Tasks: 8 (limit: 4777) Memory: 35.6M CGroup: /system.slice/snapd.seeded.service └─336 /usr/bin/snap wait system seed.loaded Sep 17 19:46:40 docker systemd[1]: Starting Wait until snapd is fully seeded... Inspecting snapd.service's logs, I see some strange messages (for example, a segmentation fault on taskrunner.go) that could be related to this problem. I'm attaching the logs to this bug. This issue is blocking docker.io on impish-proposed, which in turn is impacting the build of our OCI images for Ubuntu 21.10. ** Affects: docker.io (Ubuntu) Importance: Undecided Status: New ** Affects: snapd (Ubuntu) Importance: Critical Status: New ** Tags: update-excuse ** Attachment added: "snapd.log" https://bugs.launchpad.net/bugs/1944004/+attachment/5526026/+files/snapd.log ** Also affects: docker.io (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1944004 Title: snapd.seeded.service never finishes on non-amd64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1944004/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs