On Thu, Mar 13, 2025 at 06:21:13PM +0100, Bastian Blank wrote: > "systemd.log_level=debug systemd.log_target=console" on the kernel > command line gives some more insight. But this is a lot of output, so > requires serial console output.
Yep. One of my earlier updates contains the full debug output from systemd. Interestingly, it doesn't seem like systemd logs anything at all when it sends a SIGTERM (at least to generators). You mentioned on IRC that you've observed this on the generic images, and I've now observed the same thing. Note that it doesn't occur only on first boot; it appears that it can happen on any reboot (or presumably on daemon-reload, as generators are executed then as well). One potentially interesting entry from the debug logs is: [ 3.398752] boot-failure1 (sd-gens)[271]: (sd-exec-strv) failed with exit status 1. It does occur on a successful launch as well, but because the generators all run in parallel, it's possible that whatever causes this does not always lead to failure depending on how the events are ordered.