systemd units disabled when calling systemctl daemon-reload

Etienne Cordonnier ecordonnier at snap.com
Tue Dec 12 18:09:21 UTC 2023


More specifically, basic.target, local-fs.target and multi-user.target are
disabled after I run systemctl daemon-reload.

On Tue, Dec 12, 2023 at 7:06 PM Etienne Cordonnier <ecordonnier at snap.com>
wrote:

> 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/aca98d15/attachment-0001.htm>


More information about the systemd-devel mailing list