[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, sysvinit, updated. clfs-2.1.0-1308-g1e08a9b

git git at cross-lfs.org
Wed Jul 9 22:56:05 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, sysvinit has been updated
       via  1e08a9b49afd1dbfb64a57db3d24eeea94849b53 (commit)
      from  87da537d96932754ffde3f035a2201491848aab8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1e08a9b49afd1dbfb64a57db3d24eeea94849b53
Author: Chris Staub <chris at beaker67.com>
Date:   Thu Jul 10 01:55:57 2014 -0400

    No need to create /var/run/utmp

diff --git a/BOOK/boot/common/pwdgroup.xml b/BOOK/boot/common/pwdgroup.xml
index d720f73..ea9da2e 100644
--- a/BOOK/boot/common/pwdgroup.xml
+++ b/BOOK/boot/common/pwdgroup.xml
@@ -21,11 +21,6 @@
   </indexterm>
 
   <indexterm zone="ch-boot-pwdgroup">
-    <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
-    <secondary>boot</secondary>
-  </indexterm>
-
-  <indexterm zone="ch-boot-pwdgroup">
     <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
     <secondary>boot</secondary>
   </indexterm>
@@ -193,13 +188,12 @@ EOF</userinput></screen>
   do not already exist. Initialize the log files and give them
   proper permissions:</para>
 
-<screen os="g"><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
-chgrp -v &gid-utmp; ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
-chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
+<screen os="g"><userinput>touch ${CLFS}/var/log/{btmp,lastlog,wtmp}
+chgrp -v &gid-utmp; ${CLFS}/var/log/lastlog
+chmod -v 664 ${CLFS}/var/log/lastlog
 chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
 
-  <para os="h">The <filename>/var/run/utmp</filename> file records the users
-  that are currently logged in. The <filename>/var/log/wtmp</filename>
+  <para os="h">The <filename>/var/log/wtmp</filename>
   file records all logins and logouts. The
   <filename>/var/log/lastlog</filename> file records when
   each user last logged in. The <filename>/var/log/btmp</filename> file
diff --git a/BOOK/chroot/common/pwdgroup.xml b/BOOK/chroot/common/pwdgroup.xml
index f220af5..012f88c 100644
--- a/BOOK/chroot/common/pwdgroup.xml
+++ b/BOOK/chroot/common/pwdgroup.xml
@@ -21,11 +21,6 @@
   </indexterm>
 
   <indexterm zone="ch-boot-pwdgroup">
-    <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
-    <secondary>chroot</secondary>
-  </indexterm>
-
-  <indexterm zone="ch-boot-pwdgroup">
     <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
     <secondary>chroot</secondary>
   </indexterm>
@@ -102,9 +97,9 @@ EOF</userinput></screen>
   href="../../boot/common/pwdgroup.xml"
   xpointer="xpointer(//*[@os='f'])"/>
 
-<screen os="g"><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
-chgrp -v utmp /var/run/utmp /var/log/lastlog
-chmod -v 664 /var/run/utmp /var/log/lastlog
+<screen os="g"><userinput>touch /var/log/{btmp,lastlog,wtmp}
+chgrp -v utmp /var/log/lastlog
+chmod -v 664 /var/log/lastlog
 chmod -v 600 /var/log/btmp</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index c812f8e..bc46fcb 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -37,6 +37,16 @@
 -->
 
     <listitem>
+      <para>09 July 2014</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Chris] - Removed creation of /var/run/utmp - it's created
+          on boot in the bootscripts.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>02 July 2014</para>
       <itemizedlist>
         <listitem>

-----------------------------------------------------------------------

Summary of changes:
 BOOK/boot/common/pwdgroup.xml          |   14 ++++----------
 BOOK/chroot/common/pwdgroup.xml        |   11 +++--------
 BOOK/introduction/common/changelog.xml |   10 ++++++++++
 3 files changed, 17 insertions(+), 18 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list