Changeset 4783efe


Ignore:
Timestamp:
12/08/2013 03:02:53 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:
9132fe4
Parents:
3c7ea1f
Message:

Enable building sulogin in util-linux.
Supress installing sysvinit's sulogin.
Several text updates from Chris Staub.

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

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r3c7ea1f r4783efe  
    4040      <itemizedlist>
    4141        <listitem>
     42          <para>[bdubbs] - Enable building sulogin in util-linux.
     43          Supress installing sysvinit's sulogin.
     44          Fixes
     45          <ulink url="&lfs-ticket-root;3435">#3435</ulink>.</para>
     46        </listitem>
     47        <listitem>
    4248          <para>[bdubbs] - Supress installing sysvinit's mesg and last
    4349          that overwrite the versions installed by util-linux.
  • chapter02/creatingfilesystem.xml

    r3c7ea1f r4783efe  
    3535      <term>ext4</term>
    3636      <listitem><para>is the latest version of the ext file system family of
    37       partition types.  It provides several new capabilties including
     37      partition types.  It provides several new capabilities including
    3838      nano-second timestamps, creation and use of very large files (16 TB), and
    3939      speed improvements.</para>
  • chapter05/libstdc++.xml

    r3c7ea1f r4783efe  
    100100          is automatically passed to the Libstdc++ <command>configure</command>
    101101          options from the toplevel directory. In our case, this information
    102           must be explicitely given.</para>
     102          must be explicitly given.</para>
    103103        </listitem>
    104104      </varlistentry>
  • chapter06/gcc.xml

    r3c7ea1f r4783efe  
    431431      </varlistentry>
    432432
     433      <varlistentry id="libasan">
     434        <term><command>libasan</command></term>
     435        <listitem>
     436          <para>The Address Sanitizer runtime library</para>
     437          <indexterm zone="ch-system-gcc libasan">
     438            <primary sortas="b-libasan">libasan</primary>
     439          </indexterm>
     440        </listitem>
     441      </varlistentry>
     442
    433443      <varlistentry id="libgcc">
    434444        <term><filename class="libraryfile">libgcc</filename></term>
  • chapter06/systemd.xml

    r3c7ea1f r4783efe  
    6666    paths embedded.  For instance, the binary version of the hardware
    6767    database's path and file name used at run time,
    68     <filename>/etc/udev/hwdb.bin</filename>, cannot be changed without explict
     68    <filename>/etc/udev/hwdb.bin</filename>, cannot be changed without explicit
    6969    changes to the source code.</para></caution>
    7070
  • chapter06/sysvinit.xml

    r3c7ea1f r4783efe  
    5757    <para>Maintained versions of the <command>wall</command>,
    5858    <command>mountpoint</command>, <command>last</command>,
    59     <command>mesg</command>, and <command>utmpdump</command> programs were
    60     installed earlier by Util-linux. Suppress the installation of Sysvinit's
    61     versions of these programs and their man pages:</para>
    62 
    63 <screen><userinput remap="make">sed -i -e '/utmpdump/d'   \
    64        -e '/mountpoint/d' \
    65        -e '/mesg/d' src/Makefile</userinput></screen>
     59    <command>mesg</command>, <command>sulogin</command>, and
     60    <command>utmpdump</command> programs were installed earlier by Util-linux.
     61    Suppress the installation of Sysvinit's versions of these programs and
     62    their man pages:</para>
     63
     64<screen><userinput remap="make">sed -ri -e '/utmpdump/d'   \
     65        -e '/mountpoint/d' \
     66        -e '/mesg/d'       \
     67        -e 's/= sulogin(\.8)?/=/' src/Makefile</userinput></screen>
    6668
    6769    <para>Compile the package:</para>
     
    8486
    8587      <seglistitem>
    86         <seg>bootlogd, fstab-decode, halt, init, killall5,
    87         lastb (link to last), pidof (link to killall5),
    88         poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
    89         sulogin, and telinit (link to init)</seg>
     88        <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to
     89        killall5), poweroff (link to halt), reboot (link to halt), runlevel,
     90        shutdown, and telinit (link to init)</seg>
    9091      </seglistitem>
    9192    </segmentedlist>
     
    154155      </varlistentry>
    155156
    156       <varlistentry id="lastb">
    157         <term><command>lastb</command></term>
    158         <listitem>
    159           <para>Shows the failed login attempts, as logged in
    160           <filename>/var/log/btmp</filename></para>
    161           <indexterm zone="ch-system-sysvinit lastb">
    162             <primary sortas="b-lastb">lastb</primary>
    163           </indexterm>
    164         </listitem>
    165       </varlistentry>
    166 
    167157      <varlistentry id="pidof">
    168158        <term><command>pidof</command></term>
     
    219209      </varlistentry>
    220210
    221       <varlistentry id="sulogin">
    222         <term><command>sulogin</command></term>
    223         <listitem>
    224           <para>Allows <systemitem class="username">root</systemitem> to log in;
    225           it is normally invoked by <command>init</command> when the system goes
    226           into single user mode</para>
    227           <indexterm zone="ch-system-sysvinit sulogin">
    228             <primary sortas="b-sulogin">sulogin</primary>
    229           </indexterm>
    230         </listitem>
    231       </varlistentry>
    232 
    233211      <varlistentry id="telinit">
    234212        <term><command>telinit</command></term>
  • chapter06/util-linux.xml

    r3c7ea1f r4783efe  
    6060    <title>Installation of Util-linux</title>
    6161
    62 <screen><userinput remap="configure">./configure --disable-su --disable-sulogin --disable-login</userinput></screen>
    63 
    64     <variablelist>
    65       <title>The meaning of the configure option:</title>
    66 
    67       <varlistentry>
    68         <term><parameter>--disable-*</parameter></term>
    69         <listitem>
    70           <para>These switches disable building su, sulogin, and login.  They
    71           duplicate the same programs provided by <xref
    72           linkend='ch-system-shadow'/> and <xref linkend='ch-system-sysvinit'/>.
    73           They also require
    74           <ulink url="&blfs-root;/view/svn/postlfs/linux-pam.html">Linux-PAM</ulink>
    75           which is not available in LFS.</para>
    76         </listitem>
    77       </varlistentry>
    78     </variablelist>
     62    <para>Prepare Util-linux for compilation:</para>
     63
     64<screen><userinput remap="configure">./configure</userinput></screen>
    7965
    8066    <para>Compile the package:</para>
     
    8571
    8672    <warning><para>Running the test suite as the root user can be harmful to
    87     your system.  To run it, the kernel CONFIG_SCSI_DEBUG option for the kernel
    88     must be available in the currently running system.  The CONFIG_SCSI_DEBUG
    89     option must be built as a module.  Building it into the kernel will prevent
    90     booting.  For complete coverage, other BLFS packages must be installed.  If
    91     desired, this test can be run after rebooting into the completed LFS system
    92     and running:</para>
     73    your system.  To run it, the CONFIG_SCSI_DEBUG option for the kernel must
     74    be available in the currently running system, and must be built as a
     75    module.  Building it into the kernel will prevent booting.  For complete
     76    coverage, other BLFS packages must be installed.  If desired, this test can
     77    be run after rebooting into the completed LFS system and running:</para>
    9378
    9479    <screen role="nodump"><userinput>bash tests/run.sh --srcdir=$PWD --builddir=$PWD</userinput></screen>
     
    118103      <seglistitem>
    119104        <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu,
    120         chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart,
    121         dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
    122         fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock, i386,
    123         ionice, ipcmk, ipcrm, ipcs, isosize, kill, ldattach, linux32, linux64,
    124         logger, look, losetup, lsblk, lscpu, lslocks, mcookie, mkfs, mkfs.bfs,
    125         mkfs.cramfs, mkfs.minix, mkswap, more, mount, mountpoint, namei, partx,
    126         pg, pivot_root, prlimit, raw, readprofile, rename, renice, resizepart,
    127         rev, rtcwake, script, scriptreplay, setarch, setsid, setterm, sfdisk,
    128         swaplabel, swapoff (link to swapon), swapon, switch_root, tailf,
    129         taskset, ul, umount, unshare, utmpdump, uuidd, uuidgen, wall,
    130         wdctl, whereis, wipefs, and x86_64</seg>
     105        chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, dmesg,
     106        eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, fsck,
     107        fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, hwclock,
     108        i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to
     109        last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu,
     110        lslocks, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,
     111        more, mount, mountpoint, namei, partx, pg, pivot_root, prlimit, raw,
     112        readprofile, rename, renice, resizepart, rev, rtcwake, script,
     113        scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel,
     114        swapoff (link to swapon), swapon, switch_root, tailf, taskset, ul,
     115        umount, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,
     116        wipefs, and x86_64</seg>
    131117
    132118        <seg>libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}</seg>
     
    547533      </varlistentry>
    548534
     535      <varlistentry id="last">
     536        <term><command>last</command></term>
     537        <listitem>
     538          <para>Shows which users last logged in (and out), searching back
     539          through the <filename>/var/log/wtmp</filename> file; it also shows
     540          system boots, shutdowns, and run-level changes</para>
     541          <indexterm zone="ch-system-util-linux last">
     542            <primary sortas="b-last">last</primary>
     543          </indexterm>
     544        </listitem>
     545      </varlistentry>
     546
     547      <varlistentry id="lastb">
     548        <term><command>lastb</command></term>
     549        <listitem>
     550          <para>Shows the failed login attempts, as logged in
     551          <filename>/var/log/btmp</filename></para>
     552          <indexterm zone="ch-system-util-linux lastb">
     553            <primary sortas="b-lastb">lastb</primary>
     554          </indexterm>
     555        </listitem>
     556      </varlistentry>
     557
    549558      <varlistentry id="ldattach">
    550559        <term><command>ldattach</command></term>
     
    649658      </varlistentry>
    650659
     660      <varlistentry id="mesg">
     661        <term><command>mesg</command></term>
     662        <listitem>
     663          <para>Controls whether other users can send messages to the current
     664          user's terminal</para>
     665          <indexterm zone="ch-system-util-linux mesg">
     666            <primary sortas="b-mesg">mesg</primary>
     667          </indexterm>
     668        </listitem>
     669      </varlistentry>
     670
    651671      <varlistentry id="mkfs">
    652672        <term><command>mkfs</command></term>
     
    923943          <indexterm zone="ch-system-util-linux sfdisk">
    924944            <primary sortas="b-sfdisk">sfdisk</primary>
     945          </indexterm>
     946        </listitem>
     947      </varlistentry>
     948
     949      <varlistentry id="sulogin">
     950        <term><command>sulogin</command></term>
     951        <listitem>
     952          <para>Allows <systemitem class="username">root</systemitem> to log in;
     953          it is normally invoked by <command>init</command> when the system goes
     954          into single user mode</para>
     955          <indexterm zone="ch-system-util-linux sulogin">
     956            <primary sortas="b-sulogin">sulogin</primary>
    925957          </indexterm>
    926958        </listitem>
Note: See TracChangeset for help on using the changeset viewer.