systemd: backport a fix from upstream to create /run/log/journal dirs.

This commit is contained in:
Juan RP 2013-10-15 07:25:08 +02:00
parent 49d2d3bd3b
commit 5f986d0a87
2 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,22 @@
From 7074fecf6747c9a6ad872cc87701481e8bece8b0 Mon Sep 17 00:00:00 2001
From: Dave Reisner <dreisner@archlinux.org>
Date: Wed, 02 Oct 2013 19:35:16 +0000
Subject: tmpfiles.d: include setgid perms for /run/log/journal
4608af4333d0f7f5 set permissions for journal storage on persistent disk
but not the volatile storage.
ref: https://bugs.archlinux.org/task/37170
---
diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf
index b630440..a05c657 100644
--- tmpfiles.d/systemd.conf
+++ tmpfiles.d/systemd.conf
@@ -26,3 +26,5 @@ F /run/nologin 0644 - - - "System is booting up. See pam_nologin(8)"
m /var/log/journal 2755 root systemd-journal - -
m /var/log/journal/%m 2755 root systemd-journal - -
+m /run/log/journal 2755 root systemd-journal - -
+m /run/log/journal/%m 2755 root systemd-journal - -
--
cgit v0.9.0.2-2-gbebe

View file

@ -1,7 +1,7 @@
# Template file for 'systemd'
pkgname=systemd
version=208
revision=1
revision=2
short_desc="A system and service manager for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/systemd"
@ -16,7 +16,6 @@ configure_args="--libexecdir=/usr/lib --with-rootprefix=/usr
--disable-audit --disable-static --disable-ima"
hostmakedepends="which pkg-config intltool gperf libxslt docbook-xsl libtool"
makedepends="acl-devel pam-devel dbus-devel>=1.6.10_2 libcap-devel libkmod-devel
liblzma-devel cryptsetup-devel libblkid-devel libglib-devel libgcrypt-devel
systemd-devel>=${version} python-devel gobject-introspection"