From: Zbigniew Jędrzejewski-Szmek Date: Sun, 29 Nov 2015 23:48:40 +0000 (-0500) Subject: tmpfiles: set acls on system.journal explicitly X-Git-Tag: v229~247^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afae249efa4774c6676738ac5de6aeb4daf4889f;p=thirdparty%2Fsystemd.git tmpfiles: set acls on system.journal explicitly https://github.com/systemd/systemd/issues/1397 --- diff --git a/tmpfiles.d/systemd.conf.m4 b/tmpfiles.d/systemd.conf.m4 index fcd6ec0269a..0575408dbe2 100644 --- a/tmpfiles.d/systemd.conf.m4 +++ b/tmpfiles.d/systemd.conf.m4 @@ -33,11 +33,13 @@ A+ /run/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x z /var/log/journal 2755 root systemd-journal - - z /var/log/journal/%m 2755 root systemd-journal - - +z /var/log/journal/%m/system.journal 0640 root systemd-journal - - m4_ifdef(`HAVE_ACL',`` a+ /var/log/journal - - - - d:group:adm:r-x,d:group:wheel:r-x a+ /var/log/journal - - - - group:adm:r-x,group:wheel:r-x a+ /var/log/journal/%m - - - - d:group:adm:r-x,d:group:wheel:r-x a+ /var/log/journal/%m - - - - group:adm:r-x,group:wheel:r-x +a+ /var/log/journal/%m/system.journal - - - - group:adm:r--,group:wheel:r-- '')m4_dnl d /var/lib/systemd 0755 root root -