Suddenly today, snapd is delaying startup and shutdown by ~ 10 minutes in each case.
On startup, I get three iterations of “Starting Snap Daemon”, each with a number of cycles through “A start job is running for Snap Daemon,” several of which have countdowns of 3 minutes or more, and then “Failed to start Snap Daemon”.
In the midst of this is an instance of “Started run anacron jobs”, [anacon, really?] followed by “Failed to start Wait until snapd is fully seeded.”
On shutdown, I get a few “Stop job is running on Snap Daemon” with 1’30" countdowns.
No logs, etc., are available because the startup sequence is then followed by a hard hang on “Reached target Graphical Interface.” and I’m working now from a backup laptop.
Any suggestions of a fix would be much appreciated.
Edit:
Booting the machine to stick, I discovered that /etc/systemd/system/snapd.service, which symlinks to /lib/systemd/system/smartmontools.service, is broken. Double-clicking on the link pops up an error box saying the target doesn’t exist. Nav to the directory and, sure enough, it doesn’t.
What’s interesting is that /lib is itself a symlink to /usr/lib. Nav to /usr/lib/systemd/system and smartmontools.service is there, as are a few other .service files absent from the /lib subdirectory.
I’m not certain what’s up but this clearly is a big issue somewhere. Thoughts?