systemd units disabled when calling systemctl daemon-reload

Etienne Cordonnier ecordonnier at snap.com
Tue Dec 12 18:06:22 UTC 2023


Hello,
I am debugging some embedded system running systemd. The behavior I am
observing is that many systemd targets such as multi-user.target are
disabled after I run systemctl daemon-reload (as shown by systemctl
list-units --type target --all). This causes many systemd units to be
disabled, and forces me to reboot the system.

Is there a way to debug this systemd target transition? I already
enabled systemctl
log-level debug, but I still don't understand why the systemd target is
changing when I call systemctl daemon-reload on this particular system.

Thanks,
Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20231212/49e231b7/attachment.htm>


More information about the systemd-devel mailing list