[systemd-devel] [PATCH] Fix permissions on new journal files
Dave Reisner
d at falconindy.com
Tue Mar 25 09:13:56 PDT 2014
On Tue, Mar 25, 2014 at 09:09:57AM -0700, Greg KH wrote:
> On Tue, Mar 25, 2014 at 12:01:01PM -0400, Dave Reisner wrote:
> > 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'.
>
> Cool, want me to code this up?
Go right ahead!
More information about the systemd-devel
mailing list