I came across this bug today and spent a little time trying to figure out what's wrong.

I booted with Solution1 on https://wiki.debian.org/systemd#Debugging to enable logging.

On the plymouth screen if I press a key

[OK] Started Bluetooth service.
[OK] Reached target Bluetooth.
[16] systemd[1]: Received SIGRTMIN+20 from PID 170 (plymouthd).
(a long time passes)
[908] systemd[1]: Starting Cleanup of Temporary Directories...
[908] systemd[1]: Started Cleanup of Temporary Directories.

Nothing was happening so I rebooted again and immediately switched to TTY1 (if that's what it is, Ctrl + Alt + F1), I see systemd debug messages interspersed with the standard "[OK] Started Foo" messages. The missing systemd-vconsole-setup.service seems very peculiar (though this issue might not actually be related).

Begin: Running /scripts/init-premount ... _

systemd[1]: Cannot add dependency job for unit systemd-vconsole-setup.service, ignoring: Unit systemd-vconsole-setup.service failed to load: No such file or directory.
systemd[1]: startup finished in 10.500s...
systemd[1]: Cannot add dependency job for unit systemd-vconsole-setup.service, ignoring: Unit systemd-vconsole-setup.service failed to load: No such file or directory.


The code that implements the update & restart functionality in gnome-software is:
https://git.gnome.org/browse/gnome-software/tree/src/gs-shell-updates.c?id=579cd816642320775757ee90ef3670c7a57605af#n860

which winds up at:
https://github.com/hughsie/PackageKit/blob/ffc06ea98abd74acfa5696d017058015d26acf68/src/pk-engine.c#L1510

which is what symlinks /system-update (afterwards, back in gnome-software, there's a call to gs_reboot), under a comment "create symlink for the systemd-system-update-generator"
http://freedesktop.org/wiki/Software/systemd/SystemUpdates/

At this point, I am not familiar enough with systemd to [quickly] debug why, but it SEEMs like the problem is with systemd, and not gnome-software/PackageKit. (I'll be learning more unless someone chimes in with a fix/some tips.)

Reply via email to