mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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
This commit is contained in:
parent
a3bd4d9feb
commit
3c7ea1f646
@ -38,6 +38,12 @@
|
||||
<listitem>
|
||||
<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
|
||||
|
@ -55,12 +55,14 @@
|
||||
<screen><userinput remap="pre">sed -i 's@Sending processes@& configured via /etc/inittab@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>
|
||||
@ -174,17 +164,6 @@
|
||||
</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>
|
||||
|
Loading…
Reference in New Issue
Block a user