[Pkg-sysvinit-devel] Bug#687202: initscripts: /run/lock has perms 0755 instead of 1777

Alan Dennis debianbts8629 at aldennis.me.uk
Mon Sep 10 19:44:02 UTC 2012


Package: initscripts
Version: 2.88dsf-31
Severity: important

Dear Maintainer,

/run/lock is created with perms 0755 in /lib/init/mount-functions.sh : mount_lock().
This prevents non-privileged users from creating files/directories in /run/lock.
In particular, the logcheck package runs as a logcheck user and fails to create /run/lock/logcheck.
Changing mount_lock() to mkdir with --mode=1777 fixes the problem.

-- System Information:
Debian Release: wheezy/sid
Architecture: armhf (armv6l)

Kernel: Linux 3.2.27+ (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.13-3.2
ii  debianutils     4.3.2
ii  libc6           2.13-35
ii  lsb-base        4.1+Debian7
ii  sysv-rc         2.88dsf-31
ii  sysvinit-utils  2.88dsf-31

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.5-1
ii  psmisc     22.19-1

initscripts suggests no packages.

-- Configuration Files:
/etc/default/tmpfs changed:
LOCK_MODE=1777 #ineffective


-- no debconf information



More information about the Pkg-sysvinit-devel mailing list