Skip to content

Commit

Permalink
ostree-remount: Order before systemd-rfkill.*
Browse files Browse the repository at this point in the history
The `systemd-rfkill.*` service falls in the category of things that need
write access to `/etc` and `/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
ostreedev#2115.

Closes: coreos/fedora-coreos-tracker#746
  • Loading branch information
jlebon committed Jun 22, 2021
1 parent e4b78a0 commit 4231fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/ostree-remount.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4231fff

Please sign in to comment.