[lfs-book] r10385 - in trunk/BOOK: chapter01 chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Sat Dec 7 17:19:31 PST 2013


Author: bdubbs
Date: Sat Dec  7 17:19:31 2013
New Revision: 10385

Log:
Supress installing sysvinit's mesg and last that overwrite the versions 
installed by util-linux.

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/sysvinit.xml

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml	Sat Dec  7 16:50:05 2013	(r10384)
+++ trunk/BOOK/chapter01/changelog.xml	Sat Dec  7 17:19:31 2013	(r10385)
@@ -39,6 +39,12 @@
       <para>2013-12-07</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Supress installing sysvinit's mesg and last 
+          that overwrite the versions installed by util-linux. 
+          Thanks to Chris Staub.  Fixes
+          <ulink url="&lfs-ticket-root;3434">#3434</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Add a sed to diffutils so locales are
           properly installed.  Fixes
           <ulink url="&lfs-ticket-root;3433">#3433</ulink>.</para>

Modified: trunk/BOOK/chapter06/sysvinit.xml
==============================================================================
--- trunk/BOOK/chapter06/sysvinit.xml	Sat Dec  7 16:50:05 2013	(r10384)
+++ trunk/BOOK/chapter06/sysvinit.xml	Sat Dec  7 17:19:31 2013	(r10385)
@@ -55,12 +55,14 @@
 <screen><userinput remap="pre">sed -i 's at Sending processes@& configured via /etc/inittab at g' src/init.c</userinput></screen>
 
     <para>Maintained versions of the <command>wall</command>,
-    <command>mountpoint</command>, and <command>utmpdump</command> programs were
+    <command>mountpoint</command>, <command>last</command>,
+    <command>mesg</command>, and <command>utmpdump</command> programs were
     installed earlier by Util-linux. Suppress the installation of Sysvinit's
     versions of these programs and their man pages:</para>
 
-<screen><userinput remap="make">sed -i -e '/utmpdump/d' \
-       -e '/mountpoint/d' src/Makefile</userinput></screen>
+<screen><userinput remap="make">sed -i -e '/utmpdump/d'   \
+       -e '/mountpoint/d' \
+       -e '/mesg/d' src/Makefile</userinput></screen>
 
     <para>Compile the package:</para>
 
@@ -81,8 +83,8 @@
       <segtitle>Installed programs</segtitle>
 
       <seglistitem>
-        <seg>bootlogd, fstab-decode, halt, init, killall5, last,
-        lastb (link to last), mesg, pidof (link to killall5),
+        <seg>bootlogd, fstab-decode, halt, init, killall5,
+        lastb (link to last), pidof (link to killall5),
         poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
         sulogin, and telinit (link to init)</seg>
       </seglistitem>
@@ -151,18 +153,6 @@
         </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>
@@ -173,17 +163,6 @@
           </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>



More information about the lfs-book mailing list