From: Zbigniew Jędrzejewski-Szmek Date: Mon, 3 Nov 2014 02:45:42 +0000 (-0500) Subject: units: order sd-journal-flush after sd-remount-fs X-Git-Tag: v218~600 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=1f1926aa5e836caa3bd6df43704aecd606135103 units: order sd-journal-flush after sd-remount-fs Otherwise we could attempt to flush the journal while /var/log/ was still ro, and silently skip journal flushing. The way that errors in flushing are handled should still be changed to be more transparent and robust. --- diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in index fa290897d..98c91b4bc 100644 --- a/units/systemd-journal-flush.service.in +++ b/units/systemd-journal-flush.service.in @@ -11,6 +11,7 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5) DefaultDependencies=no Requires=systemd-journald.service After=systemd-journald.service +After=systemd-remount-fs.service Before=systemd-user-sessions.service systemd-tmpfiles-setup.service RequiresMountsFor=/var/log/journal