[systemd-devel] [PATCH] udev: don't let systemd-udev-settle delay basic.target

Tom Gundersen teg at jklm.no
Thu Sep 27 07:36:44 PDT 2012


It is no longer possible to manually enable systemd-udev-settle.service,
so its only use is by legacy services explicitly pulling it in. It makes
sense for these services to also explicitly order themselves after
udev-settle.service, which makes After=basic.target redundant.

This should reduce the negative effect on boot-time of having to enable
legacy services such as lvm.service.
---
 units/systemd-udev-settle.service.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/units/systemd-udev-settle.service.in b/units/systemd-udev-settle.service.in
index e9f2836..b631949 100644
--- a/units/systemd-udev-settle.service.in
+++ b/units/systemd-udev-settle.service.in
@@ -21,7 +21,6 @@ Documentation=man:udev(7) man:systemd-udevd.service(8)
 DefaultDependencies=no
 Wants=systemd-udevd.service
 After=systemd-udev-trigger.service
-Before=basic.target
 ConditionCapability=CAP_MKNOD
 
 [Service]
-- 
1.7.12.1



More information about the systemd-devel mailing list