valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0307-journal-remote-change-owner-of-var-log-journal-remot.patch

1abbee
From 1c6075b30786cefc73e41b2f1f5459006f37b616 Mon Sep 17 00:00:00 2001
1abbee
From: Yu Watanabe <watanabe.yu+github@gmail.com>
1abbee
Date: Fri, 15 Jan 2016 15:19:52 +0900
1abbee
Subject: [PATCH] journal-remote: change owner of /var/log/journal/remote and
1abbee
 create /var/lib/systemd/journal-upload
1abbee
1abbee
Cherry-picked from: dcdd4411407067fa1e464dc26ab85ae598fcad7d
1abbee
Resolves: #1327303
1abbee
---
1abbee
 tmpfiles.d/systemd-remote.conf | 6 ++++--
1abbee
 1 file changed, 4 insertions(+), 2 deletions(-)
1abbee
1abbee
diff --git a/tmpfiles.d/systemd-remote.conf b/tmpfiles.d/systemd-remote.conf
Pablo Greco 48fc63
index 1b8973a889..e19230f648 100644
1abbee
--- a/tmpfiles.d/systemd-remote.conf
1abbee
+++ b/tmpfiles.d/systemd-remote.conf
1abbee
@@ -7,5 +7,7 @@
1abbee
 
1abbee
 # See tmpfiles.d(5) for details
1abbee
 
1abbee
-z /var/log/journal/remote 2755 root systemd-journal-remote - -
1abbee
-z /run/log/journal/remote 2755 root systemd-journal-remote - -
1abbee
+d /var/lib/systemd/journal-upload 0755 systemd-journal-upload systemd-journal-upload - -
1abbee
+
1abbee
+z /var/log/journal/remote 2755 systemd-journal-remote systemd-journal-remote - -
1abbee
+z /run/log/journal/remote 2755 systemd-journal-remote systemd-journal-remote - -