From: Lennart Poettering Date: Mon, 25 Mar 2013 20:22:52 +0000 (+0100) Subject: units: order all udev services before sysinit.target, too X-Git-Tag: v199~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0afe214c043ec2360c652d02f1e28489b817628;p=thirdparty%2Fsystemd.git units: order all udev services before sysinit.target, too Not that it would matter much, but let's make things a bit more systematic: early boot services shall order themselves before sysinit.target, and nothing else. --- diff --git a/units/systemd-udev-settle.service.in b/units/systemd-udev-settle.service.in index 107fd8d1cc6..037dd9a8725 100644 --- a/units/systemd-udev-settle.service.in +++ b/units/systemd-udev-settle.service.in @@ -15,6 +15,7 @@ Documentation=man:udev(7) man:systemd-udevd.service(8) DefaultDependencies=no Wants=systemd-udevd.service After=systemd-udev-trigger.service +Before=sysinit.target ConditionCapability=CAP_MKNOD [Service] diff --git a/units/systemd-udev-trigger.service.in b/units/systemd-udev-trigger.service.in index bafea54573c..604c369a1b3 100644 --- a/units/systemd-udev-trigger.service.in +++ b/units/systemd-udev-trigger.service.in @@ -8,9 +8,10 @@ [Unit] Description=udev Coldplug all Devices Documentation=man:udev(7) man:systemd-udevd.service(8) +DefaultDependencies=no Wants=systemd-udevd.service After=systemd-udevd-kernel.socket systemd-udevd-control.socket -DefaultDependencies=no +Before=sysinit.target ConditionCapability=CAP_MKNOD [Service] diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in index 97fb2f3ac57..ddef4236255 100644 --- a/units/systemd-udevd.service.in +++ b/units/systemd-udevd.service.in @@ -8,10 +8,10 @@ [Unit] Description=udev Kernel Device Manager Documentation=man:systemd-udevd.service(8) man:udev(7) +DefaultDependencies=no Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket After=systemd-udevd-control.socket systemd-udevd-kernel.socket Before=sysinit.target local-fs-pre.target -DefaultDependencies=no ConditionCapability=CAP_MKNOD [Service]