teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0012-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch

9fc0f6
From 4092dd8187d9ff8d42d7f05b4a95816b575f67ff Mon Sep 17 00:00:00 2001
9fc0f6
From: Dave Reisner <dreisner@archlinux.org>
9fc0f6
Date: Wed, 2 Oct 2013 15:35:16 -0400
9fc0f6
Subject: [PATCH] tmpfiles.d: include setgid perms for /run/log/journal
9fc0f6
9fc0f6
4608af4333d0f7f5 set permissions for journal storage on persistent disk
9fc0f6
but not the volatile storage.
9fc0f6
9fc0f6
ref: https://bugs.archlinux.org/task/37170
9fc0f6
---
9fc0f6
 tmpfiles.d/systemd.conf | 2 ++
9fc0f6
 1 file changed, 2 insertions(+)
9fc0f6
9fc0f6
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
9fc0f6
index b630440..a05c657 100644
9fc0f6
--- a/tmpfiles.d/systemd.conf
9fc0f6
+++ b/tmpfiles.d/systemd.conf
9fc0f6
@@ -26,3 +26,5 @@ F /run/nologin 0644 - - - "System is booting up. See pam_nologin(8)"
9fc0f6
 
9fc0f6
 m /var/log/journal 2755 root systemd-journal - -
9fc0f6
 m /var/log/journal/%m 2755 root systemd-journal - -
9fc0f6
+m /run/log/journal 2755 root systemd-journal - -
9fc0f6
+m /run/log/journal/%m 2755 root systemd-journal - -