diff options
-rw-r--r-- | bootscripts/contrib/lsb-v3/init.d/cleanfs | 6 | ||||
-rw-r--r-- | bootscripts/lfs/init.d/cleanfs | 9 | ||||
-rw-r--r-- | chapter01/changelog.xml | 11 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 6 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | packages.ent | 2 |
6 files changed, 21 insertions, 17 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/cleanfs b/bootscripts/contrib/lsb-v3/init.d/cleanfs index 61a1fb512..96582c28c 100644 --- a/bootscripts/contrib/lsb-v3/init.d/cleanfs +++ b/bootscripts/contrib/lsb-v3/init.d/cleanfs @@ -80,12 +80,6 @@ case "${1}" in find /tmp -xdev -mindepth 1 ! -name lost+found \ -delete || failed=1 - message="${message} /var/lock" - find /var/lock -type f -exec rm -f {} \; || failed=1 - - message="${message} /var/run${NORMAL}" - find /var/run ! -type d ! -name utmp -exec rm -f {} \; || failed=1 - > /var/run/utmp if grep -q '^utmp:' /etc/group ; then chmod 664 /var/run/utmp diff --git a/bootscripts/lfs/init.d/cleanfs b/bootscripts/lfs/init.d/cleanfs index c5a42970c..e88ea5bac 100644 --- a/bootscripts/lfs/init.d/cleanfs +++ b/bootscripts/lfs/init.d/cleanfs @@ -78,15 +78,8 @@ case "${1}" in find . -xdev -mindepth 1 ! -name lost+found \ -delete || failed=1 - boot_mesg -n " /var/lock" ${NORMAL} - cd /var/lock && - find . -type f -exec rm -f {} \; || failed=1 - - boot_mesg " /var/run" ${NORMAL} - cd /var/run && - find . ! -type d ! -name utmp \ - -exec rm -f {} \; || failed=1 > /var/run/utmp + if grep -q '^utmp:' /etc/group ; then chmod 664 /var/run/utmp chgrp utmp /var/run/utmp diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 55d531e3d..8827d07da 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,17 @@ --> <listitem> + <para>2011-04-19</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Update cleanfs bootscript to + not clean /var/run or /var/lock because + they are now linked to a fresh tmpfs.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2011-04-18</para> <itemizedlist> <listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index b4bcff048..425000e70 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -13,6 +13,12 @@ <para>Below is a list of package updates made since the previous release of the book.</para> + <note><para>A somewhat major change was made in this version of the book by adding + a new top level directory, /run. This directory has a tmpfs mounted and is + used by programs like udev to store run time information. The directories + /var/run and /var/lock are also linked to this directory. The bootscripts + have been updated to accomodate this change.</para></note> + <!-- Every package in the book is listed in the "Upgraded to:" section. Comment/uncomment as needed. DO NOT delete any of these lines unless that diff --git a/general.ent b/general.ent index f59736ef0..6b9a82e25 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ -<!ENTITY version "SVN-20110418"> -<!ENTITY releasedate "April 18, 2011"> +<!ENTITY version "SVN-20110419"> +<!ENTITY releasedate "April 19, 2011"> <!ENTITY copyrightdate "1999-2011"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "6.9"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> diff --git a/packages.ent b/packages.ent index e74a6c504..898098acf 100644 --- a/packages.ent +++ b/packages.ent @@ -289,7 +289,7 @@ <!ENTITY less-ch6-du "2.9 MB"> <!ENTITY less-ch6-sbu "less than 0.1 SBU"> -<!ENTITY lfs-bootscripts-version "20110318"> <!-- Scripts depend on this format --> +<!ENTITY lfs-bootscripts-version "20110319"> <!-- Scripts depend on this format --> <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile --> <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2"> <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!-- Updated in Makefile --> |