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:
1 parent
f2b6afd2df
commit
450361d89b
1 file changed
+1
-1
@@ -25,7 +25,7 @@ After=-.mount
|
|||||||
After=systemd-remount-fs.service
|
After=systemd-remount-fs.service
|
||||||
Before=local-fs.target umount.target
|
Before=local-fs.target umount.target
|
||||||
# Other early boot units that need to write to /var
|
# 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
|
# tmpfiles.d usually needs write access to a few places
|
||||||
Before=systemd-tmpfiles-setup.service
|
Before=systemd-tmpfiles-setup.service
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user