Magellan Linux

Annotation of /trunk/systemd/patches/systemd-217-units-order-sd-journal-flush-after-sd-remount-fs.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2524 - (hide annotations) (download)
Mon Nov 17 13:56:31 2014 UTC (9 years, 6 months ago) by niro
File size: 1091 byte(s)
-upstream fixes
1 niro 2524 From 1f1926aa5e836caa3bd6df43704aecd606135103 Mon Sep 17 00:00:00 2001
2     From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
3     Date: Sun, 2 Nov 2014 21:45:42 -0500
4     Subject: [PATCH] units: order sd-journal-flush after sd-remount-fs
5    
6     Otherwise we could attempt to flush the journal while /var/log/ was
7     still ro, and silently skip journal flushing.
8    
9     The way that errors in flushing are handled should still be changed to
10     be more transparent and robust.
11     ---
12     units/systemd-journal-flush.service.in | 1 +
13     1 file changed, 1 insertion(+)
14    
15     diff --git a/units/systemd-journal-flush.service.in b/units/systemd-journal-flush.service.in
16     index fa29089..98c91b4 100644
17     --- a/units/systemd-journal-flush.service.in
18     +++ b/units/systemd-journal-flush.service.in
19     @@ -11,6 +11,7 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5)
20     DefaultDependencies=no
21     Requires=systemd-journald.service
22     After=systemd-journald.service
23     +After=systemd-remount-fs.service
24     Before=systemd-user-sessions.service systemd-tmpfiles-setup.service
25     RequiresMountsFor=/var/log/journal
26    
27     --
28     2.1.3
29