From b8156be03f71c53072c7126bb418410acbef6c81 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jul 2012 02:41:16 +0200 Subject: journal: replace implicit flushing of journal by explicit one The old automatism that the flushing of the journal from /run to /var was triggered by the appearance of /var/log/journal is broken if that directory is mounted from another host and hence always available to be useful as mount point. To avoid probelsm with this, introduce a new unit that is explicitly orderer after all mounte files systems and triggers the flushing. --- units/systemd-journald.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/systemd-journald.service.in') diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in index 9552b454a3..3899745306 100644 --- a/units/systemd-journald.service.in +++ b/units/systemd-journald.service.in @@ -9,6 +9,7 @@ Description=Journal Service Documentation=man:systemd-journald.service(8) man:journald.conf(5) DefaultDependencies=no +Wants=systemd-journal-flush.service Requires=systemd-journald.socket After=systemd-journald.socket syslog.socket -- cgit v1.2.3-54-g00ecf