[Pkg-sysvinit-devel] Bug#637856: /run/lock should be owned by uucp

Joerg Dorchain joerg at dorchain.net
Mon Aug 15 07:43:12 UTC 2011


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 uucp /run/lock || true after creation/mounting of
/run/lock solves this and does not hurt programmes just trying to
write the lockfile.

A more general apporach is also welcome.

Bye,

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20110815/1159f6ec/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list