From da4b881eac9db9004dac72270400bfc769b40b1b Mon Sep 17 00:00:00 2001 From: Finn Callies Date: Mon, 20 Jul 2026 11:21:30 +0200 Subject: [PATCH] 95sel-ebc: Add umount to boot service MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Explicitly unmount the root partition on unit stopping to prevent still mounted boot partition on switch root which results in boot being unable to be mounted after switch root. Reviewed-by: Holger Dengler Signed-off-by: Finn Callies Signed-off-by: Jan Höppner --- rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service b/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service index 300324a7..76dd81fe 100644 --- a/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service +++ b/rust/pvebc/95sel-ebc/sel-ebc-boot-mount.service @@ -17,6 +17,7 @@ After=systemd-udevd.service Type=oneshot ExecStart=/bin/bash /etc/sel-ebc/boot-mount.sh RemainAfterExit=yes +ExecStop=/usr/bin/umount /boot # On failure immediately abort boot FailureAction=poweroff-immediate