From 9f03ddf519ec2a9d318673de864da5b0d0c7813c Mon Sep 17 00:00:00 2001 From: Finn Callies Date: Mon, 6 Jul 2026 11:23:12 +0200 Subject: [PATCH] 95sel-ebc: Add udev-settle dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since this unit cannot have a dependency on the actual needed dev-disk-by2xdlabel-boot.device unit because it might not exist if the label is never set but this unit has to run after it when it does exist wait for udev-settle which creates the symlink if it does exist. Reviewed-by: Holger Dengler Signed-off-by: Finn Callies Signed-off-by: Jan Höppner --- rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service b/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service index 8316d129..300324a7 100644 --- a/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service +++ b/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service @@ -9,6 +9,9 @@ DefaultDependencies=no # Make absolutely sure this only runs in initramfs ConditionPathExists=/etc/initrd-release ConditionKernelCommandLine=rd.sel-ebc +Requires=systemd-udev-settle.service +After=systemd-udev-settle.service +After=systemd-udevd.service [Service] Type=oneshot