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 <ecordonn...@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 >