Bug#637856: /run/lock should be owned by uucp

2011-08-16 Thread Joerg Dorchain
On Mon, Aug 15, 2011 at 02:59:04PM +0100, Roger Leigh wrote: I think the check is broken. They should just create the lockfile Well, there are issues with setuid()-binaries that need to do their own access checks. A more common example would be the sendmail binary. I'm not sure I

Bug#637856: /run/lock should be owned by uucp

2011-08-15 Thread Joerg Dorchain
Package: initscripts Version: 2.88dsf-13.11 Hi, there are programs that stat() /var/lock to test permissions instead of actually trying to create lockfiles, the java rxtx library for example. Before making this symlink to the /run/lock tmpfs, ownership was preserved on harddisk. A simple chgrp

Bug#637856: /run/lock should be owned by uucp

2011-08-15 Thread Roger Leigh
On Mon, Aug 15, 2011 at 09:43:12AM +0200, Joerg Dorchain wrote: there are programs that stat() /var/lock to test permissions instead of actually trying to create lockfiles, the java rxtx library for example. Before making this symlink to the /run/lock tmpfs, ownership was preserved on

Bug#637856: /run/lock should be owned by uucp

2011-08-15 Thread Roger Leigh
On Mon, Aug 15, 2011 at 10:15:29AM +0100, Roger Leigh wrote: On Mon, Aug 15, 2011 at 09:43:12AM +0200, Joerg Dorchain wrote: A more general apporach is also welcome. We have been discussing moving to having a lock group as used by other distributions, but this hasn't happened yet.

Bug#637856: /run/lock should be owned by uucp

2011-08-15 Thread Joerg Dorchain
On Mon, Aug 15, 2011 at 10:15:29AM +0100, Roger Leigh wrote: On Mon, Aug 15, 2011 at 09:43:12AM +0200, Joerg Dorchain wrote: there are programs that stat() /var/lock to test permissions instead of actually trying to create lockfiles, the java rxtx library for example. Before making this

Bug#637856: /run/lock should be owned by uucp

2011-08-15 Thread Roger Leigh
On Mon, Aug 15, 2011 at 12:45:59PM +0200, Joerg Dorchain wrote: On Mon, Aug 15, 2011 at 10:15:29AM +0100, Roger Leigh wrote: On Mon, Aug 15, 2011 at 09:43:12AM +0200, Joerg Dorchain wrote: there are programs that stat() /var/lock to test permissions instead of actually trying to create