units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit

This commit is contained in:
Lennart Poettering 2011-04-14 02:57:13 +02:00
parent 5010903819
commit cfcab43508
3 changed files with 5 additions and 2 deletions

View file

@ -12,3 +12,8 @@
[Unit]
Description=Syslog
# Avoid that we conflict with shutdown.target, so that we can stay
# until the very end and do not cancel shutdown.target if we should
# hapen to be activated very late.
DefaultDependencies=no

View file

@ -8,7 +8,6 @@
[Unit]
Description=Notify Audit System and Update UTMP about System Runlevel Changes
DefaultDependencies=no
Wants=local-fs.target sysinit.target
After=local-fs.target sysinit.target auditd.service runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target systemd-tmpfiles-setup.service
Before=poweroff.service reboot.service halt.service

View file

@ -8,7 +8,6 @@
[Unit]
Description=Notify Audit System and Update UTMP about System Shutdown
DefaultDependencies=no
Wants=local-fs.target sysinit.target
After=local-fs.target sysinit.target auditd.service systemd-update-utmp-runlevel.service
Before=poweroff.service reboot.service halt.service