Browse Source

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


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 11 years ago
parent
commit
3c7ea1f646
2 changed files with 13 additions and 28 deletions
  1. 6 0
      chapter01/changelog.xml
  2. 7 28
      chapter06/sysvinit.xml

+ 6 - 0
chapter01/changelog.xml

@@ -38,6 +38,12 @@
     <listitem>
     <listitem>
       <para>2013-12-07</para>
       <para>2013-12-07</para>
       <itemizedlist>
       <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>
         <listitem>
           <para>[bdubbs] - Add a sed to diffutils so locales are
           <para>[bdubbs] - Add a sed to diffutils so locales are
           properly installed.  Fixes
           properly installed.  Fixes

+ 7 - 28
chapter06/sysvinit.xml

@@ -55,12 +55,14 @@
 <screen><userinput remap="pre">sed -i 's@Sending processes@&amp; configured via /etc/inittab@g' src/init.c</userinput></screen>
 <screen><userinput remap="pre">sed -i 's@Sending processes@&amp; configured via /etc/inittab@g' src/init.c</userinput></screen>
 
 
     <para>Maintained versions of the <command>wall</command>,
     <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
     installed earlier by Util-linux. Suppress the installation of Sysvinit's
     versions of these programs and their man pages:</para>
     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>
     <para>Compile the package:</para>
 
 
@@ -81,8 +83,8 @@
       <segtitle>Installed programs</segtitle>
       <segtitle>Installed programs</segtitle>
 
 
       <seglistitem>
       <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,
         poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
         sulogin, and telinit (link to init)</seg>
         sulogin, and telinit (link to init)</seg>
       </seglistitem>
       </seglistitem>
@@ -151,18 +153,6 @@
         </listitem>
         </listitem>
       </varlistentry>
       </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">
       <varlistentry id="lastb">
         <term><command>lastb</command></term>
         <term><command>lastb</command></term>
         <listitem>
         <listitem>
@@ -174,17 +164,6 @@
         </listitem>
         </listitem>
       </varlistentry>
       </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">
       <varlistentry id="pidof">
         <term><command>pidof</command></term>
         <term><command>pidof</command></term>
         <listitem>
         <listitem>