[lfs-book] r9692 - in trunk/BOOK: bootscripts bootscripts/lfs/init.d chapter01 lsb-bootscripts lsb-bootscripts/etc/init.d

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Fri Dec 23 11:04:32 PST 2011


Author: matthew
Date: 2011-12-23 12:04:27 -0700 (Fri, 23 Dec 2011)
New Revision: 9692

Modified:
   trunk/BOOK/bootscripts/ChangeLog
   trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/lsb-bootscripts/ChangeLog
   trunk/BOOK/lsb-bootscripts/etc/init.d/mountvirtfs
Log:
Correct permissions on /run/shm. Fixes #2984.

Modified: trunk/BOOK/bootscripts/ChangeLog
===================================================================
--- trunk/BOOK/bootscripts/ChangeLog	2011-12-23 19:03:08 UTC (rev 9691)
+++ trunk/BOOK/bootscripts/ChangeLog	2011-12-23 19:04:27 UTC (rev 9692)
@@ -1,3 +1,7 @@
+2011-12-23  Matt Burgess <matthew at linuxfromscratch.org>
+
+   * lfs/init.d/mountvirtfs: Correct permissions on /run/shm
+
 2011-11-28  DJ Lucas <dj at linuxfromscratch.org>
 
    * lfs/init.d/mountfs: Add '-t nosysfs' to umount command

Modified: trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs	2011-12-23 19:03:08 UTC (rev 9691)
+++ trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs	2011-12-23 19:04:27 UTC (rev 9692)
@@ -35,6 +35,7 @@
       mkdir -p /run
       mount -n /run || failed=1
       mkdir -p /run/{var,lock,shm}
+      chown 1777 /run/shm
 
       log_info_msg "Mounting virtual file systems: ${INFO}/run" 
 

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2011-12-23 19:03:08 UTC (rev 9691)
+++ trunk/BOOK/chapter01/changelog.xml	2011-12-23 19:04:27 UTC (rev 9692)
@@ -40,6 +40,10 @@
       <para>2011-12-22</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Correct permissions on /run/shm. Fixes
+          <ulink url="&lfs-ticket-root;2984">#2984</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Add upstream patches for MPFR. Fixes
           <ulink url="&lfs-ticket-root;2983">#2983</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/lsb-bootscripts/ChangeLog
===================================================================
--- trunk/BOOK/lsb-bootscripts/ChangeLog	2011-12-23 19:03:08 UTC (rev 9691)
+++ trunk/BOOK/lsb-bootscripts/ChangeLog	2011-12-23 19:04:27 UTC (rev 9692)
@@ -1,3 +1,5 @@
+2011-12-23	Matt Burgess <matthew at linuxfromscratch.org>
+  * etc/init.d/mountvirtfs: Correct permissions on /run/shm
 2011-05-23	DJ Lucas <dj at 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

Modified: trunk/BOOK/lsb-bootscripts/etc/init.d/mountvirtfs
===================================================================
--- trunk/BOOK/lsb-bootscripts/etc/init.d/mountvirtfs	2011-12-23 19:03:08 UTC (rev 9691)
+++ trunk/BOOK/lsb-bootscripts/etc/init.d/mountvirtfs	2011-12-23 19:04:27 UTC (rev 9692)
@@ -32,6 +32,7 @@
 
         # create needed directories in /run
         mkdir /run/{var,lock,shm} || failed=1
+        chown 1777 /run/shm
 
         (exit ${failed})
         evaluate_retval standard




More information about the lfs-book mailing list