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.
This commit is contained in:
Frederic Crozat 2013-03-21 17:28:13 +01:00 committed by Lennart Poettering
parent d325d9bcfa
commit 89d09e1b5c

View File

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