From 82679ce834732ba4941b097cd83c43902c0d6092 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 12 May 2020 22:04:53 +0000 Subject: [PATCH] finalize: Add RequiresMountsFor=/boot too In https://bugzilla.redhat.com/show_bug.cgi?id=1827712 some OpenShift CI is seeing `/boot` being unmounted before `ostree-finalize-staged.service` runs or completes. We finally tracked this down to a bug elsewhere, but I think we should add this because it clearly shows our requirements. --- src/boot/ostree-finalize-staged.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/ostree-finalize-staged.service b/src/boot/ostree-finalize-staged.service index 8152e5969d..90e212b093 100644 --- a/src/boot/ostree-finalize-staged.service +++ b/src/boot/ostree-finalize-staged.service @@ -23,7 +23,7 @@ Documentation=man:ostree(1) ConditionPathExists=/run/ostree-booted DefaultDependencies=no -RequiresMountsFor=/sysroot +RequiresMountsFor=/sysroot /boot After=local-fs.target Before=basic.target final.target # We want to make sure the transaction logs are persisted to disk: