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

2014-04-17 Thread Greg KH
On Fri, Apr 18, 2014 at 05:59:46AM +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Apr 15, 2014 at 02:12:01PM -0700, Greg KH wrote: > > When starting up journald on a new system, set the proper permissions on > > the system.journal files, not only on the journal directory. > > > > > > diff --

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

2014-04-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Apr 15, 2014 at 02:12:01PM -0700, Greg KH wrote: > When starting up journald on a new system, set the proper permissions on > the system.journal files, not only on the journal directory. > > > diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf > index 7c6d6b9099b9..c4700453215

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

2014-04-15 Thread Greg KH
When starting up journald on a new system, set the proper permissions on the system.journal files, not only on the journal directory. diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index 7c6d6b9099b9..c47004532151 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf

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

2014-04-15 Thread Greg KH
On Tue, Mar 25, 2014 at 12:13:56PM -0400, Dave Reisner wrote: > 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 Lenna

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

2014-03-25 Thread Dave Reisner
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

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

2014-03-25 Thread Greg KH
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 i

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

2014-03-25 Thread Dave Reisner
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.

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

2014-03-25 Thread Thomas Bächler
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 setf

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

2014-03-25 Thread Greg KH
On Tue, Mar 25, 2014 at 01:40:18AM +0100, Lennart Poettering wrote: > On Fri, 14.03.14 03:28, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > > On Fri, Mar 14, 2014 at 12:07:35AM +, Greg KH wrote: > > > When starting up journald on a new system, set the proper permissions on >

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

2014-03-24 Thread Lennart Poettering
On Fri, 14.03.14 03:28, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > On Fri, Mar 14, 2014 at 12:07:35AM +, Greg KH wrote: > > When starting up journald on a new system, set the proper permissions on > > the system.journal file, not only on the journal directory. > > > > diff --

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

2014-03-13 Thread Greg KH
On Fri, Mar 14, 2014 at 03:28:27AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Mar 14, 2014 at 12:07:35AM +, Greg KH wrote: > > When starting up journald on a new system, set the proper permissions on > > the system.journal file, not only on the journal directory. > > > > diff --git a/

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

2014-03-13 Thread Dave Reisner
On Fri, Mar 14, 2014 at 03:28:27AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Mar 14, 2014 at 12:07:35AM +, Greg KH wrote: > > When starting up journald on a new system, set the proper permissions on > > the system.journal file, not only on the journal directory. > > > > diff --git a/

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

2014-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 14, 2014 at 12:07:35AM +, Greg KH wrote: > When starting up journald on a new system, set the proper permissions on > the system.journal file, not only on the journal directory. > > diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf > index 7c6d6b9099b9..1aeb5e40f1ee 10

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

2014-03-13 Thread Greg KH
When starting up journald on a new system, set the proper permissions on the system.journal file, not only on the journal directory. diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index 7c6d6b9099b9..1aeb5e40f1ee 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@