anitazha / rpms / systemd

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