Ignore:
Timestamp:
12/08/2013 01:19:31 AM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
4783efe
Parents:
a3bd4d9f
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/sysvinit.xml

    ra3bd4d9f r3c7ea1f  
    5656
    5757    <para>Maintained versions of the <command>wall</command>,
    58     <command>mountpoint</command>, and <command>utmpdump</command> programs were
     58    <command>mountpoint</command>, <command>last</command>,
     59    <command>mesg</command>, and <command>utmpdump</command> programs were
    5960    installed earlier by Util-linux. Suppress the installation of Sysvinit's
    6061    versions of these programs and their man pages:</para>
    6162
    62 <screen><userinput remap="make">sed -i -e '/utmpdump/d' \
    63        -e '/mountpoint/d' src/Makefile</userinput></screen>
     63<screen><userinput remap="make">sed -i -e '/utmpdump/d'   \
     64       -e '/mountpoint/d' \
     65       -e '/mesg/d' src/Makefile</userinput></screen>
    6466
    6567    <para>Compile the package:</para>
     
    8284
    8385      <seglistitem>
    84         <seg>bootlogd, fstab-decode, halt, init, killall5, last,
    85         lastb (link to last), mesg, pidof (link to killall5),
     86        <seg>bootlogd, fstab-decode, halt, init, killall5,
     87        lastb (link to last), pidof (link to killall5),
    8688        poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
    8789        sulogin, and telinit (link to init)</seg>
     
    152154      </varlistentry>
    153155
    154       <varlistentry id="last">
    155         <term><command>last</command></term>
    156         <listitem>
    157           <para>Shows which users last logged in (and out), searching back
    158           through the <filename>/var/log/wtmp</filename> file; it also shows
    159           system boots, shutdowns, and run-level changes</para>
    160           <indexterm zone="ch-system-sysvinit last">
    161             <primary sortas="b-last">last</primary>
    162           </indexterm>
    163         </listitem>
    164       </varlistentry>
    165 
    166156      <varlistentry id="lastb">
    167157        <term><command>lastb</command></term>
     
    171161          <indexterm zone="ch-system-sysvinit lastb">
    172162            <primary sortas="b-lastb">lastb</primary>
    173           </indexterm>
    174         </listitem>
    175       </varlistentry>
    176 
    177       <varlistentry id="mesg">
    178         <term><command>mesg</command></term>
    179         <listitem>
    180           <para>Controls whether other users can send messages to the current
    181           user's terminal</para>
    182           <indexterm zone="ch-system-sysvinit mesg">
    183             <primary sortas="b-mesg">mesg</primary>
    184163          </indexterm>
    185164        </listitem>
Note: See TracChangeset for help on using the changeset viewer.