Re: [systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

2014-07-16 Thread Jon Severinsson
onsdagen den 16 juli 2014 12:15:09 skrev du: > Why do you think this should be changed? Mostly because this is the way it has always been done in Debian, and changing it breaks some existing init scripts, but I'm ok with continuing to carry it as a Debian specific patch if it is not considered app

Re: [systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

2014-07-16 Thread Tollef Fog Heen
]] Jon Severinsson > From: Tollef Fog Heen This one shouldn't be forwarded upstream, /run/lock has historically had different permissions in Debian and I'd rather get that fixed than pushing this upstream. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are ___

Re: [systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

2014-07-16 Thread Kay Sievers
On Wed, Jul 16, 2014 at 12:18 PM, Mantas Mikulėnas wrote: > On Wed, Jul 16, 2014 at 1:09 PM, Jon Severinsson wrote: >> -d /run/lock 0755 root root - >> +d /run/lock 1777 root root - > > Won't any user be able to break the system by filling /run, if it has > world-writable directories? IIRC, this

Re: [systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

2014-07-16 Thread Mantas Mikulėnas
On Wed, Jul 16, 2014 at 1:09 PM, Jon Severinsson wrote: > -d /run/lock 0755 root root - > +d /run/lock 1777 root root - Won't any user be able to break the system by filling /run, if it has world-writable directories? IIRC, this was one of the reasons /run/user/* are separate 'tmpfs'es. -- Mant

Re: [systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

2014-07-16 Thread Tom Gundersen
Why do you think this should be changed? On Wed, Jul 16, 2014 at 12:09 PM, Jon Severinsson wrote: > From: Tollef Fog Heen > > --- > tmpfiles.d/legacy.conf | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tmpfiles.d/legacy.conf b/tmpfiles.d/legacy.conf > index 3219672

[systemd-devel] [PATCH 06/10] tmpfiles: fix permissions of /run/lock and /run/lock/lockdev

2014-07-16 Thread Jon Severinsson
From: Tollef Fog Heen --- tmpfiles.d/legacy.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tmpfiles.d/legacy.conf b/tmpfiles.d/legacy.conf index 3219672..a634c17 100644 --- a/tmpfiles.d/legacy.conf +++ b/tmpfiles.d/legacy.conf @@ -10,7 +10,7 @@ # These files are co