From 7e31e90e58531d1b1f2d60c453db46656d8d0390 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 10 Aug 2020 19:56:17 +0200 Subject: [PATCH] units: order volatile-root after repart Let's make sure systemd-repart can still see the real device before we replace its mount with an overlay mount, and thus order repart before volatile-root. See: https://lists.freedesktop.org/archives/systemd-devel/2020-July/044896.html --- units/systemd-volatile-root.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-volatile-root.service.in b/units/systemd-volatile-root.service.in index 8f228bce9f..a39e9a4ec2 100644 --- a/units/systemd-volatile-root.service.in +++ b/units/systemd-volatile-root.service.in @@ -12,7 +12,7 @@ Description=Enforce Volatile Root File Systems Documentation=man:systemd-volatile-root.service(8) DefaultDependencies=no Conflicts=shutdown.target -After=sysroot.mount +After=sysroot.mount systemd-repart.service Before=initrd-root-fs.target shutdown.target AssertPathExists=/etc/initrd-release