mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
boot: Ensure we remount /var writable before systemd does journal flush
Otherwise, we may not get a persistent journal for the first boot. https://bugzilla.redhat.com/show_bug.cgi?id=1265295 Closes: #511 Approved by: jlebon
This commit is contained in:
parent
f2b6afd2df
commit
450361d89b
@ -25,7 +25,7 @@ After=-.mount
|
||||
After=systemd-remount-fs.service
|
||||
Before=local-fs.target umount.target
|
||||
# Other early boot units that need to write to /var
|
||||
Before=systemd-random-seed.service plymouth-read-write.service
|
||||
Before=systemd-random-seed.service plymouth-read-write.service systemd-journal-flush.service
|
||||
# tmpfiles.d usually needs write access to a few places
|
||||
Before=systemd-tmpfiles-setup.service
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user