aboutsummaryrefslogtreecommitdiffstats
path: root/lsb-bootscripts
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-12-23 19:04:27 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-12-23 19:04:27 +0000
commitef504c23b12c68f2daace826412b56523bed73b0 (patch)
tree5f45f2baa69627bb781f7cbc9017a67557575cac /lsb-bootscripts
parent878bc8bc0bd1e643ed90adcc98abd8ac69f5fa69 (diff)
Correct permissions on /run/shm. Fixes #2984.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9692 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'lsb-bootscripts')
-rw-r--r--lsb-bootscripts/ChangeLog2
-rw-r--r--lsb-bootscripts/etc/init.d/mountvirtfs1
2 files changed, 3 insertions, 0 deletions
diff --git a/lsb-bootscripts/ChangeLog b/lsb-bootscripts/ChangeLog
index 769dcd581..02fffee96 100644
--- a/lsb-bootscripts/ChangeLog
+++ b/lsb-bootscripts/ChangeLog
@@ -1,3 +1,5 @@
+2011-12-23 Matt Burgess <matthew@linuxfromscratch.org>
+ * etc/init.d/mountvirtfs: Correct permissions on /run/shm
2011-05-23 DJ Lucas <dj@linuxfromscratch.org>
* Makefile, etc/default/rc: The value of ETCDIR is used to set the RC_BASE at
install time. Changed default ETCDIR to /etc/rc.d and added /etc/init.d
diff --git a/lsb-bootscripts/etc/init.d/mountvirtfs b/lsb-bootscripts/etc/init.d/mountvirtfs
index 51f94a8b8..20fdd5a93 100644
--- a/lsb-bootscripts/etc/init.d/mountvirtfs
+++ b/lsb-bootscripts/etc/init.d/mountvirtfs
@@ -32,6 +32,7 @@ case "${1}" in
# create needed directories in /run
mkdir /run/{var,lock,shm} || failed=1
+ chown 1777 /run/shm
(exit ${failed})
evaluate_retval standard