anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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