From: Jonathan Lebon Date: Tue, 22 Jun 2021 15:18:48 +0000 (-0400) Subject: ostree-remount: Order before systemd-rfkill.* X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~3^2~3^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=301b52704edcc894d071af3bbc53157912f66014;p=ostree.git ostree-remount: Order before systemd-rfkill.* The `systemd-rfkill.*` service falls in the category of early things that need write access to `/var`, so we need to make sure we run before or it might hit the read-only sysroot. The long-term fix for this is https://github.com/ostreedev/ostree/issues/2115. Closes: https://github.com/coreos/fedora-coreos-tracker/issues/746 --- diff --git a/src/boot/ostree-remount.service b/src/boot/ostree-remount.service index af40453c..a54114f9 100644 --- a/src/boot/ostree-remount.service +++ b/src/boot/ostree-remount.service @@ -28,7 +28,7 @@ After=systemd-remount-fs.service # But we run *before* most other core bootup services that need write access to /etc and /var Before=local-fs.target umount.target Before=systemd-random-seed.service plymouth-read-write.service systemd-journal-flush.service -Before=systemd-tmpfiles-setup.service +Before=systemd-tmpfiles-setup.service systemd-rfkill.service systemd-rfkill.socket [Service] Type=oneshot