summaryrefslogtreecommitdiff
path: root/src/boot/ostree-remount.service
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-09-14 12:56:07 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2016-09-15 19:41:44 +0000
commit450361d89bb937e157994abb15923a881da57ba3 (patch)
tree16027bfd3147416be17a8d651987c58af6e53fb2 /src/boot/ostree-remount.service
parentf2b6afd2df73eeb3e09887c852e6459f9d6cac49 (diff)
downloadostree-450361d89bb937e157994abb15923a881da57ba3.tar.gz
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
Diffstat (limited to 'src/boot/ostree-remount.service')
-rw-r--r--src/boot/ostree-remount.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/ostree-remount.service b/src/boot/ostree-remount.service
index 61dd5fa8..8439b495 100644
--- a/src/boot/ostree-remount.service
+++ b/src/boot/ostree-remount.service
@@ -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