From 34a4bf43c0e57d1c44c9a3a8beb69dcb809234f6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Mar 2013 14:43:49 +0100 Subject: [PATCH] systemd: finish (hopefully) switch to adm group for journal. --- .../systemd/patches/use_adm_group_in_journal.patch | 11 +++++++++++ srcpkgs/systemd/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/srcpkgs/systemd/patches/use_adm_group_in_journal.patch b/srcpkgs/systemd/patches/use_adm_group_in_journal.patch index 85fdc700c1..007cfdb3c8 100644 --- a/srcpkgs/systemd/patches/use_adm_group_in_journal.patch +++ b/srcpkgs/systemd/patches/use_adm_group_in_journal.patch @@ -25,3 +25,14 @@ I prefer to use the "adm" group for now. return -EACCES; } #endif +--- src/journal/journald-server.c.orig 2013-03-08 14:42:35.535110912 +0100 ++++ src/journal/journald-server.c 2013-03-08 14:42:43.846230680 +0100 +@@ -174,7 +174,7 @@ static uint64_t available_space(Server * + } + + static void server_read_file_gid(Server *s) { +- const char *g = "systemd-journal"; ++ const char *g = "adm"; + int r; + + assert(s); diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index d9389515cc..449d46942c 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=198 -revision=3 +revision=4 build_style=gnu-configure configure_args="--libexecdir=/usr/lib --disable-selinux --disable-tcpwrap --with-rootprefix=/usr