]> err.no Git - systemd/commitdiff
units: never pull in sysinit from utmp, so that we can shutdown from emergency mode...
authorLennart Poettering <lennart@poettering.net>
Thu, 14 Apr 2011 00:57:13 +0000 (02:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 16 Apr 2011 00:03:34 +0000 (02:03 +0200)
units/syslog.target
units/systemd-update-utmp-runlevel.service.in
units/systemd-update-utmp-shutdown.service.in

index 8b1626ed55ef6c04c5055f70cbd5db5e53f67eed..825b26e7bfa36b3e17736be6545aa70736611b16 100644 (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
index 865a1535de9b21008adb50f41851eec7a3d06d30..614c759a638cbe2cae6837366be35da7c7db45f2 100644 (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
 
index c30d86d24c9348a9d01b8b97141fc61adf9ee6ca..e7c3c04a00bdac23dbc80c8ffda5bf5c63038dce 100644 (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