diff --git a/srcpkgs/systemd/patches/7074fecf6747c9a6ad872cc87701481e8bece8b0.patch b/srcpkgs/systemd/patches/7074fecf6747c9a6ad872cc87701481e8bece8b0.patch new file mode 100644 index 0000000000..1beddc410b --- /dev/null +++ b/srcpkgs/systemd/patches/7074fecf6747c9a6ad872cc87701481e8bece8b0.patch @@ -0,0 +1,22 @@ +From 7074fecf6747c9a6ad872cc87701481e8bece8b0 Mon Sep 17 00:00:00 2001 +From: Dave Reisner +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 diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 23c364f05b..e5c495805c 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -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 " 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"