[systemd-devel] [PATCH] Fix permissions on new journal files

Dave Reisner d at falconindy.com
Tue Mar 25 09:01:01 PDT 2014


On Tue, Mar 25, 2014 at 04:54:34PM +0100, Thomas Bächler wrote:
> Am 25.03.2014 01:40, schrieb Lennart Poettering:
> >> This is just a kludge... Why is system.journal to be treated differently?
> >> It seems that the proper fix is to set the mode on the directory properly
> >> during installation.
> > 
> > Precisely, packaging script are expected to properly chown and setfacl
> > the directory on install. From the .spec file in Fedora:
> 
> This completely ignores the problem Dave mentions in his earlier post:
> Volatile journals are owned by root:root.

I talked to Lennart about this last night on IRC -- we agreed that the
solution here is to introduce an 'M' action in the tmpfiles language
which is a recursive version of 'm'.


More information about the systemd-devel mailing list