summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-14 02:57:13 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 02:03:34 +0200
commitcfcab435088205b520d244e6111e33b98579181d (patch)
tree45324c9d84af47b83ebef4c7e9b759a527118f1f /units
parent5010903819a6918c04e6cffa0edea6865cf3d5ef (diff)
units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit
Diffstat (limited to 'units')
-rw-r--r--units/syslog.target5
-rw-r--r--units/systemd-update-utmp-runlevel.service.in1
-rw-r--r--units/systemd-update-utmp-shutdown.service.in1
3 files changed, 5 insertions, 2 deletions
diff --git a/units/syslog.target b/units/syslog.target
index 8b1626ed55..825b26e7bf 100644
--- a/units/syslog.target
+++ b/units/syslog.target
@@ -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
diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in
index 865a1535de..614c759a63 100644
--- a/units/systemd-update-utmp-runlevel.service.in
+++ b/units/systemd-update-utmp-runlevel.service.in
@@ -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
diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in
index c30d86d24c..e7c3c04a00 100644
--- a/units/systemd-update-utmp-shutdown.service.in
+++ b/units/systemd-update-utmp-shutdown.service.in
@@ -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