[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, master, updated. clfs-2.0.0-519-g86e0296

git git at cross-lfs.org
Fri Nov 22 12:07:27 PST 2013


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, master has been updated
       via  86e02966946bd609acd14ad49265de92bf8329e5 (commit)
      from  5b7944d1c66628c491e45afc05e58596911355bd (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 86e02966946bd609acd14ad49265de92bf8329e5
Author: Chris Staub <chris at beaker67.com>
Date:   Fri Nov 22 15:07:18 2013 -0500

    Install last and mesg from util-linux instead of sysvinit

diff --git a/BOOK/final-system/common/sysvinit.xml b/BOOK/final-system/common/sysvinit.xml
index 36f63ab..5951d3d 100644
--- a/BOOK/final-system/common/sysvinit.xml
+++ b/BOOK/final-system/common/sysvinit.xml
@@ -24,11 +24,12 @@
   <sect2 role="installation">
     <title>Installation of Sysvinit</title>
 
-<para os ="a">Apply a sed which disables sulogin, mountpoint, wall, and
-utmpdump from being built and installed as they are provided by Util-linux:</para>
+<para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin,
+utmpdump, and wall from being built and installed as they are provided by
+Util-linux:</para>
 
 <screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \
-    -e '/utmpdump/d' -e '/mountpoint/d' src/Makefile</userinput></screen>
+    -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen>
 
 <para os ="c">Compile the package:</para>
 
@@ -123,10 +124,9 @@ EOF</userinput></screen>
       <segtitle>Installed programs</segtitle>
 
       <seglistitem>
-        <seg>bootlogd, fstab-decode, halt, init, killall5, last, lastb (link
-        to last), mesg,
-        pidof (link to killall5), poweroff (link to halt),
-        reboot (link to halt), runlevel, shutdown, and telinit (link to init)</seg>
+        <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to
+        killall5), poweroff (link to halt), reboot (link to halt), runlevel,
+        shutdown, and telinit (link to init)</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -193,40 +193,6 @@ EOF</userinput></screen>
         </listitem>
       </varlistentry>
 
-      <varlistentry id="last">
-        <term><command>last</command></term>
-        <listitem>
-          <para>Shows which users last logged in (and out), searching back
-          through the <filename>/var/log/wtmp</filename> file; it also shows
-          system boots, shutdowns, and run-level changes</para>
-          <indexterm zone="ch-system-sysvinit last">
-            <primary sortas="b-last">last</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="lastb">
-        <term><command>lastb</command></term>
-        <listitem>
-          <para>Shows the failed login attempts, as logged in
-          <filename>/var/log/btmp</filename></para>
-          <indexterm zone="ch-system-sysvinit lastb">
-            <primary sortas="b-lastb">lastb</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry id="mesg">
-        <term><command>mesg</command></term>
-        <listitem>
-          <para>Controls whether other users can send messages to the current
-          user's terminal</para>
-          <indexterm zone="ch-system-sysvinit mesg">
-            <primary sortas="b-mesg">mesg</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
-
       <varlistentry id="pidof">
         <term><command>pidof</command></term>
         <listitem>
diff --git a/BOOK/final-system/common/util-linux.xml b/BOOK/final-system/common/util-linux.xml
index a909434..7f805eb 100644
--- a/BOOK/final-system/common/util-linux.xml
+++ b/BOOK/final-system/common/util-linux.xml
@@ -105,14 +105,15 @@ echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></scre
         chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart,
         dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock,
         fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump,
-        hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, ldattach,
-        logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mkfs, mkfs.bfs,
-        mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint,  namei,
-        partx, pg, pivot_root, prlimit, raw, readprofile, rename, renice,
-        resizepart, rev, rtcwake, script, scriptreplay, setarch, setsid,
-        setterm, sfdisk, sulogin, swaplabel, swapoff (link to swapon), swapon,
-        switch_root, tailf, taskset, tunelp, ul, umount, unshare, utmpdump,
-        uuidd, uuidgen, wall, wdctl, whereis, wipefs, and write</seg>
+        hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link
+        to last), ldattach, logger, look, losetup, lsblk, lscpu, lslocks,
+        mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more,
+        mount, mountpoint,  namei, partx, pg, pivot_root, prlimit, raw,
+        readprofile, rename, renice, resizepart, rev, rtcwake, script,
+        scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
+        swapoff (link to swapon), swapon, switch_root, tailf, taskset, tunelp,
+        ul, umount, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,
+        wipefs, and write</seg>
         <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg>
         <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
         /usr/share/getopt, /var/lib/hwclock</seg>
@@ -518,6 +519,29 @@ echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></scre
         </listitem>
       </varlistentry>
 
+      <varlistentry id="last">
+        <term><command>last</command></term>
+        <listitem>
+          <para>Shows which users last logged in (and out), searching back
+          through the <filename>/var/log/wtmp</filename> file; it also shows
+          system boots, shutdowns, and run-level changes</para>
+          <indexterm zone="ch-system-util-linux last">
+            <primary sortas="b-last">last</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="lastb">
+        <term><command>lastb</command></term>
+        <listitem>
+          <para>Shows the failed login attempts, as logged in
+          <filename>/var/log/btmp</filename></para>
+          <indexterm zone="ch-system-util-linux lastb">
+            <primary sortas="b-lastb">lastb</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="ldattach">
         <term><command>ldattach</command></term>
         <listitem>
@@ -599,6 +623,17 @@ echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></scre
         </listitem>
       </varlistentry>
 
+      <varlistentry id="mesg">
+        <term><command>mesg</command></term>
+        <listitem>
+          <para>Controls whether other users can send messages to the current
+          user's terminal</para>
+          <indexterm zone="ch-system-util-linux mesg">
+            <primary sortas="b-mesg">mesg</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="mkfs">
         <term><command>mkfs</command></term>
         <listitem>
diff --git a/BOOK/introduction/common/changelog.xml b/BOOK/introduction/common/changelog.xml
index 20108b1..412c7e2 100644
--- a/BOOK/introduction/common/changelog.xml
+++ b/BOOK/introduction/common/changelog.xml
@@ -37,6 +37,16 @@
 
 -->
     <listitem>
+      <para>22 November 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[Chris] - Util-linux now installs last and mesg by
+          default, so use those instead of the versions in Sysvinit.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>18 November 2013</para>
       <itemizedlist>
         <listitem>

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

Summary of changes:
 BOOK/final-system/common/sysvinit.xml   |   48 ++++-------------------------
 BOOK/final-system/common/util-linux.xml |   51 ++++++++++++++++++++++++++-----
 BOOK/introduction/common/changelog.xml  |   10 ++++++
 3 files changed, 60 insertions(+), 49 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list