[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, systemd, updated. clfs-2.0.0-693-g2be952c

git git at cross-lfs.org
Wed Jan 8 11:28:50 PST 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, systemd has been updated
       via  2be952cdfb981a19480ca978fa1dcc6501afad6d (commit)
       via  0ddb5cabb124f9b8b6d493c8fec9077e7205b4ec (commit)
      from  ff8774fc67f18a1981fadc1368297f3e4c27f7cd (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 2be952cdfb981a19480ca978fa1dcc6501afad6d
Author: Chris Staub <chris at beaker67.com>
Date:   Wed Jan 8 14:28:36 2014 -0500

    Commands to create log files are no longer needed

diff --git a/BOOK/boot/common/pwdgroup.xml b/BOOK/boot/common/pwdgroup.xml
index ea470a0..7e9d5b3 100644
--- a/BOOK/boot/common/pwdgroup.xml
+++ b/BOOK/boot/common/pwdgroup.xml
@@ -201,22 +201,4 @@ EOF</userinput></screen>
   well-written programs do not depend on GID numbers, but rather use the
   group's name.</para>
 
-  <para os="f">The <command>login</command>, <command>agetty</command>, and
-  <command>init</command> programs (and others) use a number of log
-  files to record information such as who was logged into the system and
-  when. However, these programs will not write to the log files if they
-  do not already exist. Initialize the log files and give them
-  proper permissions:</para>
-
-<screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}
-chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog
-chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>
-
-  <para>The <filename>/var/run/utmp</filename> file records the users
-  that are currently logged in. 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
-  records the bad login attempts.</para>
-
 </sect1>
diff --git a/BOOK/chroot/common/pwdgroup.xml b/BOOK/chroot/common/pwdgroup.xml
index 3c81903..eeb7a86 100644
--- a/BOOK/chroot/common/pwdgroup.xml
+++ b/BOOK/chroot/common/pwdgroup.xml
@@ -101,19 +101,4 @@ EOF</userinput></screen>
   they are installed, the <parameter>+h</parameter> directive will be used
   for the duration of the next chapters.</para>
 
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-  href="../../boot/common/pwdgroup.xml"
-  xpointer="xpointer(//*[@os='f'])"/>
-
-<screen><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
-chmod -v 600 /var/log/btmp</userinput></screen>
-
-  <para>The <filename>/var/run/utmp</filename> file records the users that
-  are currently logged in. 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 records the bad login attempts.</para>
-
 </sect1>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 6731910..31ef1d2 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -40,6 +40,10 @@
       <para>08 January 2014</para>
       <itemizedlist>
         <listitem>
+          <para>[Chris] - Removed commands to create files in /var/run and
+          /var/log - systemd now used its journal for all logs.</para>
+        </listitem>
+        <listitem>
           <para>[Chris] - Removed obsolete sed command from temp-system Coreutils.</para>
         </listitem>
         <listitem>

commit 0ddb5cabb124f9b8b6d493c8fec9077e7205b4ec
Author: Chris Staub <chris at beaker67.com>
Date:   Wed Jan 8 13:27:03 2014 -0500

    Simplify sed command

diff --git a/BOOK/temp-system/common/gawk.xml b/BOOK/temp-system/common/gawk.xml
index 8747bfc..9c95a4a 100644
--- a/BOOK/temp-system/common/gawk.xml
+++ b/BOOK/temp-system/common/gawk.xml
@@ -25,7 +25,7 @@
     <para os="s1">Apply a sed which will allow the build system to complete without error:</para>
 
 <screen os="s2"><userinput>cp -v extension/Makefile.in{,.orig}
-sed -e 's/check-recursive all-recursive: check-for-shared-lib-support/check-recursive all-recursive:/' \
+sed -e 's/\(check-recursive all-recursive:\) check-for-shared-lib-support/\1/' \
   extension/Makefile.in.orig > extension/Makefile.in</userinput></screen>
 
     <para os="a">Prepare Gawk for compilation:</para>

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

Summary of changes:
 BOOK/boot/common/pwdgroup.xml          |   18 ------------------
 BOOK/chroot/common/pwdgroup.xml        |   15 ---------------
 BOOK/introduction/common/changelog.xml |    4 ++++
 BOOK/temp-system/common/gawk.xml       |    2 +-
 4 files changed, 5 insertions(+), 34 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list