summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2013-03-21 17:28:13 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-23 15:17:39 +0100
commit89d09e1b5c65a2d97840f682e0932c8bb499f166 (patch)
tree772e816e7b16aa6de540030013908c56b8c7f44e
parentd325d9bcfa8846a65767087f958a2dd11139d0e7 (diff)
udevd: ensure static nodes are created before local-fs mount
static nodes (like /dev/loop-control) are created when systemd-udevd is started and needed to mount loopback devices. Therefore, local-fs-pre.target should be only started after systemd-udevd is started.
-rw-r--r--units/systemd-udevd.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index 86c650c0db..97fb2f3ac5 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -10,7 +10,7 @@ Description=udev Kernel Device Manager
Documentation=man:systemd-udevd.service(8) man:udev(7)
Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket
After=systemd-udevd-control.socket systemd-udevd-kernel.socket
-Before=sysinit.target
+Before=sysinit.target local-fs-pre.target
DefaultDependencies=no
ConditionCapability=CAP_MKNOD