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:
Colin Walters authored and Atomic Bot committed 2016-09-15 19:41:44 +00:00
1 parent f2b6afd2df
commit 450361d89b
1 file changed
+1 -1
+1 -1
View File
@@ -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