From b0afe214c043ec2360c652d02f1e28489b817628 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Mar 2013 21:22:52 +0100 Subject: [PATCH] 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. --- units/systemd-udev-settle.service.in | 1 + units/systemd-udev-trigger.service.in | 3 ++- units/systemd-udevd.service.in | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/units/systemd-udev-settle.service.in b/units/systemd-udev-settle.service.in index 107fd8d1c..037dd9a87 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 bafea5457..604c369a1 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 97fb2f3ac..ddef42362 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] -- 2.30.2