From 29c1a0d4603d53537a5713a5adc8dc953c1ea672 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 4 Jul 2010 04:16:14 +0200 Subject: [PATCH] systemd: update service files for newly introduced DefaultDependencies= option This new option has been introduced very recently in systemd and needs to be unset for udev, since udev is supposed to be run on early boot. --- init/udev-retry.service.in | 2 ++ init/udev-settle.service.in | 1 + init/udev.service.in | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/init/udev-retry.service.in b/init/udev-retry.service.in index b7d53207..1c272324 100644 --- a/init/udev-retry.service.in +++ b/init/udev-retry.service.in @@ -1,6 +1,8 @@ [Unit] Description=re-trigger failed events after filesystems are available +DefaultDependencies=no After=local-fs.target +After=udev.service [Service] Type=finish diff --git a/init/udev-settle.service.in b/init/udev-settle.service.in index d13beae6..be6acd20 100644 --- a/init/udev-settle.service.in +++ b/init/udev-settle.service.in @@ -1,5 +1,6 @@ [Unit] Description=wait until full initialization +DefaultDependencies=no After=udev.service [Service] diff --git a/init/udev.service.in b/init/udev.service.in index a54626df..4d08d5c2 100644 --- a/init/udev.service.in +++ b/init/udev.service.in @@ -1,5 +1,6 @@ [Unit] Description=/dev and kernel device manager +DefaultDependencies=no Before=sysinit.target [Service] @@ -12,4 +13,3 @@ ExecStartPost=@sbindir@/udevadm trigger --type=devices --action=add WantedBy=sysinit.target Also=udev-settle.service Also=udev-retry.service - -- 2.39.5