Changeset 1118b17 for chapter06


Ignore:
Timestamp:
05/24/2016 09:24:59 PM (8 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, 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:
77ab7f3
Parents:
11ebea6
Message:

Create branches/merge in svn repo fo rtesting of merged LFS books

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/merge@11073 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter06
Files:
1 added
20 edited

Legend:

Unmodified
Added
Removed
  • chapter06/acl.xml

    r11ebea6 r1118b17  
    6060    <para>Prepare Acl for compilation:</para>
    6161
    62 <screen><userinput remap="configure">./configure --prefix=/usr    \
     62<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr    \
    6363            --bindir=/bin    \
     64            --disable-static \
     65            --libexecdir=/usr/lib</userinput></screen>
     66
     67<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr    \
    6468            --disable-static \
    6569            --libexecdir=/usr/lib</userinput></screen>
  • chapter06/attr.xml

    r11ebea6 r1118b17  
    5454    <para>Prepare Attr for compilation:</para>
    5555
    56 <screen><userinput remap="configure">./configure --prefix=/usr \
     56<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \
    5757            --bindir=/bin \
     58            --disable-static</userinput></screen>
     59
     60<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \
    5861            --disable-static</userinput></screen>
    5962
  • chapter06/autoconf.xml

    r11ebea6 r1118b17  
    5757    several tests are skipped that use Automake. For full test coverage,
    5858    Autoconf can be re-tested after Automake has been installed.  In addition,
    59     two fail due to changes in libtool-2.4.3 and later.</para>
     59    two tests fail due to changes in libtool-2.4.3 and later.</para>
    6060
    6161    <para>Install the package:</para>
  • chapter06/coreutils.xml

    r11ebea6 r1118b17  
    138138sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
    139139
    140     <para>Some of the scripts in the LFS-Bootscripts package depend on
    141     <command>head</command>, <command>sleep</command>, and
     140    <para revision="sysv">Some of the scripts in the LFS-Bootscripts package
     141    depend on <command>head</command>, <command>sleep</command>, and
    142142    <command>nice</command>.  As <filename class="directory">/usr</filename>
    143143    may not be available during the early stages of booting, those binaries
    144144    need to be on the root partition:</para>
     145
     146    <para revision="systemd">Some packages in BLFS and beyond expect the
     147    following programs in <filename class="directory">/bin</filename>, so make
     148    sure they are placed there:</para>
    145149
    146150<screen><userinput remap="install">mv -v /usr/bin/{head,sleep,nice,test,[} /bin</userinput></screen>
  • chapter06/createfiles.xml

    r11ebea6 r1118b17  
    147147  command:</para>
    148148
    149 <screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
     149<screen revision="sysv"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    150150<literal>root:x:0:0:root:/root:/bin/bash
    151151bin:x:1:1:bin:/dev/null:/bin/false
     
    155155EOF</userinput></screen>
    156156
     157<screen revision="systmed"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
     158<literal>root:x:0:0:root:/root:/bin/bash
     159bin:x:1:1:bin:/dev/null:/bin/false
     160daemon:x:6:6:Daemon User:/dev/null:/bin/false
     161messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
     162systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false
     163systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false
     164systemd-journal-remote:x:74:74:systemd Journal Remote:/:/bin/false
     165systemd-journal-upload:x:75:75:systemd Journal Upload:/:/bin/false
     166systemd-network:x:76:76:systemd Network Management:/:/bin/false
     167systemd-resolve:x:77:77:systemd Resolver:/:/bin/false
     168systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false
     169systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false
     170nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal>
     171EOF</userinput></screen>
     172
    157173  <para>The actual password for <systemitem class="username">root</systemitem>
    158174  (the <quote>x</quote> used here is just a placeholder) will be set later.</para>
     
    161177  command:</para>
    162178
    163 <screen><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
     179<screen revision="sysv"><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
    164180<literal>root:x:0:
    165181bin:x:1:daemon
     
    187203EOF</userinput></screen>
    188204
     205<screen revision="systemd"><userinput>cat &gt; /etc/group &lt;&lt; "EOF"
     206<literal>root:x:0:
     207bin:x:1:daemon
     208sys:x:2:
     209kmem:x:3:
     210tape:x:4:
     211tty:x:5:
     212daemon:x:6:
     213floppy:x:7:
     214disk:x:8:
     215lp:x:9:
     216dialout:x:10:
     217audio:x:11:
     218video:x:12:
     219utmp:x:13:
     220usb:x:14:
     221cdrom:x:15:
     222adm:x:16:
     223messagebus:x:18:
     224systemd-journal:x:23:
     225input:x:24:
     226mail:x:34:
     227systemd-bus-proxy:x:72:
     228systemd-journal-gateway:x:73:
     229systemd-journal-remote:x:74:
     230systemd-journal-upload:x:75:
     231systemd-network:x:76:
     232systemd-resolve:x:77:
     233systemd-timesync:x:78:
     234systemd-coredump:x:79:
     235nogroup:x:99:
     236users:x:999:</literal>
     237EOF</userinput></screen>
     238
    189239  <para>The created groups are not part of any standard&mdash;they are groups
    190240  decided on in part by the requirements of the Udev configuration in this
  • chapter06/dbus.xml

    r11ebea6 r1118b17  
    4949    <para>Prepare D-Bus for compilation:</para>
    5050
    51 <screen><userinput remap="configure">./configure --prefix=/usr                       \
    52             --sysconfdir=/etc                   \
    53             --localstatedir=/var                \
    54             --docdir=/usr/share/doc/dbus-&dbus-version;  \
    55             --with-console-auth-dir=/run/console</userinput></screen>
     51<screen><userinput remap="configure">  ./configure --prefix=/usr                       \
     52              --sysconfdir=/etc                   \
     53              --localstatedir=/var                \
     54              --disable-static                    \
     55              --disable-doxygen-docs              \
     56              --disable-xml-docs                  \
     57              --docdir=/usr/share/doc/dbus-&dbus-version; \
     58              --with-console-auth-dir=/run/console</userinput></screen>
    5659
    5760    <variablelist>
     
    7578    packages that are not included in LFS. Instructions for running the
    7679    test suite can be found in the BLFS book at
    77     <ulink url="&blfs-root;/view/&short-version;/general/dbus.html"/>.</para>
     80    <ulink url="&blfs-book;general/dbus.html"/>.</para>
    7881
    7982    <para>Install the package:</para>
     
    8992ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
    9093
    91     <para>Create a symlink, so that D-Bus and Systemd can use the same
     94    <para>Create a symlink, so that D-Bus and systemd can use the same
    9295    <filename>machine-id</filename> file:</para>
    9396
    94 <screen><userinput remap="install">ln -sv /etc/machine-id /var/lib/dbus</userinput></screen>
    95 
    96     <para>Finally, generate a D-Bus UUID to avoid possible warnings
    97     when building some packages in BLFS:</para>
    98 
    99 <screen><userinput remap="install">dbus-uuidgen --ensure</userinput></screen>
     97<screen><userinput remap="install">ln -sfv /etc/machine-id /var/lib/dbus</userinput></screen>
    10098
    10199  </sect2>
     
    111109      <seglistitem>
    112110        <seg>dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
    113         dbus-send, and dbus-uuidgen</seg>
     111        dbus-run-session, dbus-send, and dbus-uuidgen</seg>
    114112        <seg>libdbus-1.{a,so}</seg>
    115113        <seg>/etc/dbus-1, /usr/include/dbus-1.0, /usr/lib/dbus-1.0,
    116114        /usr/share/dbus-1, /usr/share/doc/dbus-&dbus-version;,
    117         /var/lib/dbus</seg>
     115        and /var/lib/dbus</seg>
    118116      </seglistitem>
    119117    </segmentedlist>
     
    127125        <term><command>dbus-cleanup-sockets</command></term>
    128126        <listitem>
    129           <para>Used to clean up leftover sockets in a directory.</para>
     127          <para>Used to clean up leftover sockets in a directory</para>
    130128          <indexterm zone="ch-system-dbus dbus-cleanup-sockets">
    131129            <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
     
    137135        <term><command>dbus-daemon</command></term>
    138136        <listitem>
    139           <para>The D-Bus message bus daemon.</para>
     137          <para>The D-Bus message bus daemon</para>
    140138          <indexterm zone="ch-system-dbus dbus-daemon">
    141139            <primary sortas="b-dbus-daemon">dbus-daemon</primary>
     
    148146        <listitem>
    149147          <para>Starts <command>dbus-daemon</command> from a shell
    150           script.</para>
     148          script</para>
    151149          <indexterm zone="ch-system-dbus dbus-launch">
    152150            <primary sortas="b-dbus-launch">dbus-launch</primary>
     
    158156        <term><command>dbus-monitor</command></term>
    159157        <listitem>
    160           <para>Monitors messages passing through a D-Bus message bus.</para>
     158          <para>Monitors messages passing through a D-Bus message bus</para>
    161159          <indexterm zone="ch-system-dbus dbus-monitor">
    162160            <primary sortas="b-dbus-monitor">dbus-monitor</primary>
     
    165163      </varlistentry>
    166164
     165      <varlistentry id="dbus-run-session">
     166        <term><command>dbus-run-session</command></term>
     167        <listitem>
     168          <para>Starts a session bus instance of <command>dbus-daemon</command>
     169          from a shell script and starts a specified program in that
     170          session</para>
     171          <indexterm zone="ch-system-dbus dbus-run-session">
     172            <primary sortas="b-dbus-run-session">dbus-run-session</primary>
     173          </indexterm>
     174        </listitem>
     175      </varlistentry>
     176
    167177      <varlistentry id="dbus-send">
    168178        <term><command>dbus-send</command></term>
    169179        <listitem>
    170           <para>Sends a message to a D-Bus message bus.</para>
     180          <para>Sends a message to a D-Bus message bus</para>
    171181          <indexterm zone="ch-system-dbus dbus-send">
    172182            <primary sortas="b-dbus-send">dbus-send</primary>
     
    178188        <term><command>dbus-uuidgen</command></term>
    179189        <listitem>
    180           <para>Generates a universally unique ID.</para>
     190          <para>Generates a universally unique ID</para>
    181191          <indexterm zone="ch-system-dbus dbus-uuidgen">
    182192            <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
     
    185195      </varlistentry>
    186196
     197      <varlistentry id="libdbus-1">
     198        <term><filename class="libraryfile">libdbus-1</filename></term>
     199        <listitem>
     200          <para>Contains API functions used to communicate with the D-Bus
     201          message bus</para>
     202          <indexterm zone="ch-system-dbus libdbus-1">
     203            <primary sortas="c-libdbus-1">libdbus-1</primary>
     204          </indexterm>
     205        </listitem>
     206      </varlistentry>
     207
    187208    </variablelist>
    188209
  • chapter06/diffutils.xml

    r11ebea6 r1118b17  
    5858<screen><userinput remap="test">make check</userinput></screen>
    5959
    60     <para>The test-update-copyright.sh failure can be ignored.</para>
     60    <para>The test-update-copyright.sh failure can be safely ignored.</para>
    6161
    6262    <para>Install the package:</para>
  • chapter06/e2fsprogs.xml

    r11ebea6 r1118b17  
    522522        </listitem>
    523523      </varlistentry>
    524 <!--
    525       <varlistentry id="libquota">
    526         <term><filename class="libraryfile">libquota</filename></term>
    527         <listitem>
    528           <para>Provides an interface for creating and updating quota files
    529           and ext4 superblock fields</para>
    530           <indexterm zone="ch-system-e2fsprogs libquota">
    531             <primary sortas="c-libquota">libquota</primary>
    532           </indexterm>
    533         </listitem>
    534       </varlistentry>
    535 -->
     524
    536525      <varlistentry id="libss">
    537526        <term><filename class="libraryfile">libss</filename></term>
  • chapter06/findutils.xml

    r11ebea6 r1118b17  
    7474<screen><userinput remap="install">make install</userinput></screen>
    7575
    76     <para>Some of the scripts in the LFS-Bootscripts package depend on
    77     <command>find</command>.  As <filename class="directory">/usr</filename>
    78     may not be available during the early stages of booting, this program
    79     needs to be on the root partition.  The <command>updatedb</command>
    80     script also needs to be modified to correct an explicit path:</para>
     76    <para revision="sysv">Some of the scripts in the LFS-Bootscripts package
     77    depend on <command>find</command>.  As <filename
     78    class="directory">/usr</filename> may not be available during the early
     79    stages of booting, this program needs to be on the root partition.  The
     80    <command>updatedb</command> script also needs to be modified to correct an
     81    explicit path:</para>
     82
     83    <para revision="systemd"> Some packages in BLFS and beyond expect the
     84    <command>find</command> program in <filename
     85    class="directory">/bin</filename>, so make sure it's placed there:</para>
    8186
    8287<screen><userinput remap="install">mv -v /usr/bin/find /bin
  • chapter06/glibc.xml

    r11ebea6 r1118b17  
    153153<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
    154154mkdir -pv /var/cache/nscd</userinput></screen>
     155
     156    <para revision="systemd">Install the systemd support files for
     157    <command>nscd</command>:</para>
     158
     159    <screen revision="systemd"><userinput remap="install">install -v -Dm644 ../nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
     160install -v -Dm644 ../nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
    155161
    156162    <para>Next, install the locales that can make the system respond in a
     
    327333    running:</para>
    328334
    329 <screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
     335<screen revision="sysv"><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
     336
     337<screen revision="systemd"><userinput>ln -sfv /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
    330338
    331339    <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
     
    563571        </listitem>
    564572      </varlistentry>
    565 <!--
    566       <varlistentry id="pcprofiledump">
    567         <term><command>pcprofiledump</command></term>
    568         <listitem>
    569           <para>Dumps information generated by PC profiling</para>
    570           <indexterm zone="ch-system-glibc pcprofiledump">
    571             <primary sortas="b-pcprofiledump">pcprofiledump</primary>
    572           </indexterm>
    573         </listitem>
    574       </varlistentry>
    575 -->
     573
    576574      <varlistentry id="pldd">
    577575        <term><command>pldd</command></term>
     
    583581        </listitem>
    584582      </varlistentry>
    585 <!--
    586       <varlistentry id="pt_chown">
    587         <term><command>pt_chown</command></term>
    588         <listitem>
    589           <para>A helper program for <command>grantpt</command> to set the owner,
    590           group and access permissions of a slave pseudo terminal</para>
    591           <indexterm zone="ch-system-glibc pt_chown">
    592             <primary sortas="b-pt_chown">pt_chown</primary>
    593           </indexterm>
    594         </listitem>
    595       </varlistentry>
    596 -->
     583
    597584      <varlistentry id="rpcgen">
    598585        <term><command>rpcgen</command></term>
     
    838825        </listitem>
    839826      </varlistentry>
    840 <!--
    841       <varlistentry id="libpcprofile">
    842         <term><filename class="libraryfile">libpcprofile</filename></term>
    843         <listitem>
    844           <para>Contains profiling functions used to track the amount of CPU
    845           time spent in specific source code lines</para>
    846           <indexterm zone="ch-system-glibc libpcprofile">
    847             <primary sortas="c-libpcprofile">libpcprofile</primary>
    848           </indexterm>
    849         </listitem>
    850       </varlistentry>
    851 -->
     827
    852828      <varlistentry id="libpthread">
    853829        <term><filename class="libraryfile">libpthread</filename></term>
  • chapter06/gmp.xml

    r11ebea6 r1118b17  
    9393 
    9494    <caution><para>The code in gmp is highly optimized for the processor where
    95     it is built. Occasionally the code that detects the processor misidentifies
     95    it is built. Occasionally, the code that detects the processor misidentifies
    9696    the system capabilities and there will be errors in the tests or other
    9797    applications using the gmp libraries with the message "Illegal
  • chapter06/m4.xml

    r11ebea6 r1118b17  
    5353<screen><userinput remap="test">make check</userinput></screen>
    5454
    55     <para>The test-update-copyright.sh failure can be ignored.</para>
     55    <para>The test-update-copyright.sh failure can safely be ignored.</para>
    5656
    5757    <para>Install the package:</para>
  • chapter06/man-db.xml

    r11ebea6 r1118b17  
    9292<screen><userinput remap="install">make install</userinput></screen>
    9393
     94    <para>Remove a reference to a non-existent user:</para>
     95
     96<screen><userinput remap="install">sed -i "s:man root:root root:g" /usr/lib/tmpfiles.d/man-db.conf</userinput></screen>
     97
    9498  </sect2>
    9599
  • chapter06/mpfr.xml

    r11ebea6 r1118b17  
    4141  <sect2 role="installation">
    4242    <title>Installation of MPFR</title>
    43 <!--
    44     <para>First, apply the following patch to fix various bugs that have been
    45     addressed upstream:</para>
    4643
    47 <screen><userinput remap="pre">patch -Np1 -i ../&mpfr-upstream-patch;</userinput></screen>
    48 -->
    4944    <para>Prepare MPFR for compilation:</para>
    5045
  • chapter06/ncurses.xml

    r11ebea6 r1118b17  
    143143      <para>The instructions above don't create non-wide-character Ncurses
    144144      libraries since no package installed by compiling from sources would link
    145       against them at runtime. Currently, the only known binary-only
    146       applications that link against non-wide-character Ncurses require version
    147       5.  If you must have such libraries because of some binary-only
     145      against them at runtime. However, the only known binary-only
     146      applications that link against non-wide-character Ncurses libraries
     147      require version 5.  If you must have such libraries because of some binary-only
    148148      application or to be compliant with LSB, build the package again with the
    149149      following commands:</para>
  • chapter06/pkgmgt.xml

    r11ebea6 r1118b17  
    261261    <filename>/etc/passwd</filename>,
    262262    <filename>/etc/group</filename>,
    263     <filename>/etc/shadow</filename>,
    264     <filename>/etc/ld.so.conf</filename>,
    265     <filename>/etc/sysconfig/rc.site</filename>,
    266     <filename>/etc/sysconfig/network</filename>, and
    267     <filename>/etc/sysconfig/ifconfig.eth0</filename>.
     263    <phrase revision="systemd">
     264      <filename>/etc/shadow</filename>, and
     265      <filename>/etc/ld.so.conf</filename>.
     266    </phrase>
     267    <phrase revision="sysv">
     268      <filename>/etc/shadow</filename>,
     269      <filename>/etc/ld.so.conf</filename>,
     270      <filename>/etc/sysconfig/rc.site</filename>,
     271      <filename>/etc/sysconfig/network</filename>, and
     272      <filename>/etc/sysconfig/ifconfig.eth0</filename>.
     273    </phrase>
    268274    </para>
    269275
     
    272278    configuration.</para>
    273279
    274     <note><para>There have been some reports of issues when copying between 
    275     similar but not identical architectures.  For instance the instruction set
    276     for Intel architectures is not identical with AMD processors and later
    277     versions of some processors may have instructions not available in
     280    <note><para>There have been some reports of issues when copying between
     281    similar but not identical architectures. For instance, the instruction set
     282    for an Intel system is not identical with an AMD processor and later
     283    versions of some processors may have instructions that are unavailable in
    278284    earlier versions.</para></note>
    279285
  • chapter06/procps.xml

    r11ebea6 r1118b17  
    4343    <para>Now prepare procps-ng for compilation:</para>
    4444
    45 <screen><userinput remap="configure">./configure --prefix=/usr                            \
     45<screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr                            \
    4646            --exec-prefix=                           \
    4747            --libdir=/usr/lib                        \
     
    4949            --disable-static                         \
    5050            --disable-kill</userinput></screen>
     51
     52<screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr                            \
     53            --exec-prefix=                           \
     54            --libdir=/usr/lib                        \
     55            --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \
     56            --disable-static                         \
     57            --disable-kill                           \
     58            --with-systemd</userinput></screen>
    5159
    5260    <variablelist>
  • chapter06/readline.xml

    r11ebea6 r1118b17  
    107107      <seglistitem>
    108108        <seg>libhistory.so and libreadline.so</seg>
    109         <seg>/usr/include/readline and
     109        <seg>/usr/include/readline, /usr/share/readline, and
    110110        /usr/share/doc/readline-&readline-version;</seg>
    111111      </seglistitem>
  • chapter06/systemd.xml

    r11ebea6 r1118b17  
    1818
    1919  <indexterm zone="ch-system-systemd">
    20     <primary sortas="a-Systemd">Systemd</primary>
     20    <primary sortas="a-systemd">systemd</primary>
    2121  </indexterm>
    2222
     
    2424    <title/>
    2525
    26     <para>The Systemd package contains programs for controlling the startup,
     26    <para>The systemd package contains programs for controlling the startup,
    2727    running, and shutdown of the system.</para>
    2828
     
    3939
    4040  <sect2 role="installation">
    41     <title>Installation of Systemd</title>
    42 
    43     <note><para>If systemd is not desired at all, it can be skipped.  However a
    44     udev replacement must be installed.  See the hint at <ulink
    45     url="http://www.linuxfromscratch.org/hints/downloads/files/eudev-alt-hint.txt"/>
    46     to find procedures to install
    47     <application>eudev</application>.</para></note>
    48 
    49     <para>First, create a file to allow Systemd to build when using Util-Linux
    50     built in Chapter 5:</para>
     41    <title>Installation of systemd</title>
     42
     43    <para>First, fix a build error when using Util-Linux built in
     44    Chapter 5:</para>
     45
     46<screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
     47
     48    <para>Apply the following patch so that compat
     49    <command>pkg-config</command> files get installed without installing compat
     50    libs which are useless on LFS:</para>
     51
     52<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
     53
     54    <para>Disable two tests that always fail:</para>
     55
     56<screen><userinput remap="pre">sed -e 's@test/udev-test.pl @@'  \
     57    -e 's@test-copy$(EXEEXT) @@' \
     58    -i Makefile.in</userinput></screen>
     59
     60    <para>Rebuild generated files after modifying Makefile.am and
     61    Makefile.in:</para>
     62
     63<screen><userinput remap="pre">autoreconf -fi</userinput></screen>
     64
     65    <para>Create a file to allow systemd to build when using Util-Linux
     66    built in Chapter 5, to disable LTO by default, and to build without
     67    xlstproc:</para>
    5168
    5269<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
    5370<literal>KILL=/bin/kill
     71MOUNT_PATH=/bin/mount
     72UMOUNT_PATH=/bin/umount
    5473HAVE_BLKID=1
    5574BLKID_LIBS="-lblkid"
    5675BLKID_CFLAGS="-I/tools/include/blkid"
    57 cc_cv_CFLAGS__flto=no</literal>
     76HAVE_LIBMOUNT=1
     77MOUNT_LIBS="-lmount"
     78MOUNT_CFLAGS="-I/tools/include/libmount"
     79cc_cv_CFLAGS__flto=no
     80XSLTPROC="/usr/bin/xsltproc"</literal>
    5881EOF</userinput></screen>
    5982
    60     <para>Additionally, fix a build error when using Util-Linux built in
    61     Chapter 5:</para>
    62 
    63 <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
    64 
    65     <para>Apply a patch so that compat <command>pkg-config</command> files get
    66     installed without installing compat libs which are useless on LFS:</para>
    67 
    68 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
    69 
    70     <para>Prepare Systemd for compilation:</para>
    71 
    72 <screen><userinput remap="configure">./configure --prefix=/usr                                           \
    73             --sysconfdir=/etc                                       \
    74             --localstatedir=/var                                    \
    75             --config-cache                                          \
    76             --with-rootprefix=                                      \
    77             --with-rootlibdir=/lib                                  \
    78             --enable-split-usr                                      \
    79             --disable-gudev                                         \
    80             --without-python                                        \
    81             --docdir=/usr/share/doc/systemd-&systemd-version;                     \
    82             --with-dbuspolicydir=/etc/dbus-1/system.d               \
    83             --with-dbusinterfacedir=/usr/share/dbus-1/interfaces    \
    84             --with-dbussessionservicedir=/usr/share/dbus-1/services \
    85             --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     83    <para>LTO is disabled by default because it causes
     84    <command>systemd</command> and other auxiliary programs to link to
     85    <filename class="libraryfile">libgcc_s.so</filename>, slows the build down
     86    and makes the compiled code larger.</para>
     87
     88    <para>Prepare systemd for compilation:</para>
     89
     90<screen><userinput remap="configure">./configure --prefix=/usr          \
     91            --sysconfdir=/etc      \
     92            --localstatedir=/var   \
     93            --config-cache         \
     94            --with-rootprefix=     \
     95            --with-rootlibdir=/lib \
     96            --enable-split-usr     \
     97            --disable-firstboot    \
     98            --disable-ldconfig     \
     99            --disable-sysusers     \
     100            --without-python       \
     101            --docdir=/usr/share/doc/systemd-&systemd-version;</userinput></screen>
    86102
    87103    <variablelist>
     
    109125        <term><parameter>--enable-split-usr</parameter></term>
    110126        <listitem>
    111           <para>This switch ensures that Systemd will work on
     127          <para>This switch ensures that systemd will work on
    112128          systems where /bin, /lib and /sbin directories are not
    113129          symlinks to their /usr counterparts.</para>
     
    116132
    117133      <varlistentry>
    118         <term><parameter>--disable-gudev --without-python</parameter></term>
    119         <listitem>
    120           <para>These switches disable optional features because
    121           LFS does not provide their dependencies.</para>
     134        <term><parameter>--without-python</parameter></term>
     135        <listitem>
     136          <para>This switch prevents <command>configure</command>
     137          from trying to use Python which isn't built
     138          in LFS.</para>
    122139        </listitem>
    123140      </varlistentry>
    124141
    125142      <varlistentry>
    126         <term><parameter>--with-dbus*</parameter></term>
    127         <listitem>
    128           <para>These switches ensure that D-Bus configuratil files
    129           get installed in the correct locations.</para>
     143        <term><parameter>--disable-firstboot</parameter></term>
     144        <listitem>
     145          <para>This switch prevents installation of systemd
     146          services responsible for setting up the system for
     147          the first time. They are not useful for LFS because
     148          everything is done manually.</para>
     149        </listitem>
     150      </varlistentry>
     151
     152      <varlistentry>
     153        <term><parameter>--disable-ldconfig</parameter></term>
     154        <listitem>
     155          <para>This switch prevents installation of a systemd
     156          unit that runs <command>ldconfig</command> at
     157          boot, making the boot time longer. Remove it if the
     158          described feature is desired, even though it's not
     159          useful for source distributions such as LFS.</para>
     160        </listitem>
     161      </varlistentry>
     162
     163      <varlistentry>
     164        <term><parameter>--disable-sysusers</parameter></term>
     165        <listitem>
     166          <para>This switch prevents installation of systemd
     167          services responsible for setting up the
     168          <filename>/etc/group</filename> and
     169          <filename>/etc/passwd</filename> files. Both files
     170          were created early in this chapter.</para>
    130171        </listitem>
    131172      </varlistentry>
     
    137178<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
    138179
    139     <para>First prevent few broken test cases from running:</para>
    140 
    141 <screen><userinput remap="test">sed -e "s:test/udev-test.pl::g"            \
    142     -e "s:test-bus-cleanup\$(EXEEXT) ::g"  \
    143     -e "s:test-bus-gvariant\$(EXEEXT) ::g" \
    144     -i Makefile</userinput></screen>
    145 
    146     <para>To test the results, issue:</para>
    147 
    148 <screen><userinput remap="test">make -k check</userinput></screen>
    149 
    150     <para>Note that some tests might fail because the test are being run in a
    151     chroot environment. For full test coverage, the test suite should be run
    152     from a system booted using Systemd.</para>
     180    <para>This package has a test suite, but it can only be run after the
     181    package has been installed.</para>
    153182
    154183    <para>Install the package:</para>
     
    156185<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
    157186
    158     <para>Move NSS myhostname library to <filename
    159     class="directory">/lib</filename>:</para>
    160 
    161 <screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen>
     187    <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para>
     188
     189<screen><userinput remap="install">mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib</userinput></screen>
    162190
    163191    <para>Remove an unnecessary directory:</para>
     
    165193<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
    166194
    167     <para>Create the Sysvinit compatibility symlinks, and move some man pages
    168     and a library that conflict with <xref linkend="ch-system-sysvinit"/> so
    169     both systems can be installed side-by-side:</para>
     195    <para>Create the Sysvinit compatibility symlinks, so systemd is used
     196    as the default init system:</para>
    170197
    171198<screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do
    172   ln -sfv ../bin/systemctl /sbin/${tool}-systemd
    173   mv -v /usr/share/man/man8/${tool}.8 /usr/share/man/man8/${tool}-systemd.8
     199     ln -sfv ../bin/systemctl /sbin/${tool}
    174200done
    175 
    176 ln -sfv ../lib/systemd/systemd /sbin/init-systemd
    177 mv -v /etc/init.d /etc/init.d-systemd</userinput></screen>
    178 
     201ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
     202
     203<!--
    179204    <para>Remove a reference to a non-existent group:</para>
    180205
    181206<screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
     207-->
    182208
    183209    <para>Create the <filename>/etc/machine-id</filename> file needed by
    184     Journald:</para>
     210    <command>systemd-journald</command>:</para>
    185211
    186212<screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
    187213
    188     <para>Finally install some LFS specific udev rules:</para>
    189 
    190 <screen><userinput remap="install">tar -xf ../&udev-lfs-version;.tar.bz2
    191 make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
     214    <para>Since the testsuite largely depends on the host system kernel
     215    configuration, some tests may fail. It also needs a modification in
     216    order not to look for a program that will be installed by Util-Linux
     217    package later in this chapter. To test the results, issue:</para>
     218
     219<screen><userinput remap="test">sed -i "s:minix:ext4:g" src/test/test-path-util.c
     220make LD_LIBRARY_PATH=/tools/lib -k check</userinput></screen>
    192221
    193222  </sect2>
    194223
    195224  <sect2 id="contents-systemd" role="content">
    196     <title>Contents of Systemd</title>
     225    <title>Contents of systemd</title>
    197226
    198227    <segmentedlist>
     
    202231
    203232      <seglistitem>
    204         <seg>bootctl, busctl, halt, hostnamectl, init, journalctl, kernel-install,
    205         localectl, loginctl, machinectl, poweroff, reboot, runlevel, shutdown,
    206         systemctl, systemd-analyze, systemd-ask-password, systemd-cat, systemd-cgls,
    207         systemd-cgtop, systemd-coredumpctl, systemd-delta, systemd-detect-virt,
    208         systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
    209         systemd-run, systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
     233        <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
     234        kernel-install, localectl, loginctl, machinectl, networkctl, poweroff,
     235        reboot, runlevel, shutdown, systemctl, systemd-analyze,
     236        systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
     237        systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
     238        systemd-inhibit, systemd-machine-id-setup, systemd-notify,
     239        systemd-nspawn, systemd-path, systemd-resolve, systemd-run,
     240        systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
    210241        telinit, timedatectl, and udevadm</seg>
    211 
    212         <seg>libnss_myhostname.so.2, libsystemd.so, libudev.so</seg>
     242        <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
     243        libnss_resolve.so.2, libsystemd.so, and libudev.so</seg>
    213244        <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
    214245        /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
     
    216247        /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
    217248        /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
    218         /usr/share/doc/systemd-&systemd-version;, /usr/share/systemd,
    219         /var/lib/systemd, /var/log/journal</seg>
     249        /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
     250        /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
    220251      </seglistitem>
    221252    </segmentedlist>
     
    229260        <term><command>bootctl</command></term>
    230261        <listitem>
    231           <para>used to query the firmware and boot manager settings.</para>
     262          <para>used to query the firmware and boot manager settings</para>
    232263          <indexterm zone="ch-system-systemd bootctl">
    233264            <primary sortas="b-bootctl">bootctl</primary>
     
    239270        <term><command>busctl</command></term>
    240271        <listitem>
    241           <para>used to introspect and monitor the D-Bus bus.</para>
     272          <para>Used to introspect and monitor the D-Bus bus</para>
    242273          <indexterm zone="ch-system-systemd busctl">
    243274            <primary sortas="b-busctl">busctl</primary>
     275          </indexterm>
     276        </listitem>
     277      </varlistentry>
     278
     279      <varlistentry id="coredumpctl">
     280        <term><command>coredumpctl</command></term>
     281        <listitem>
     282          <para>Used to retrieve coredumps from the systemd Journal</para>
     283          <indexterm zone="ch-system-systemd coredumpctl">
     284            <primary sortas="b-coredumpctl">coredumpctl</primary>
    244285          </indexterm>
    245286        </listitem>
     
    253294          then it tells the kernel to halt the system; it notes in the
    254295          file <filename>/var/log/wtmp</filename> that the system is being
    255           brought down.</para>
     296          brought down</para>
    256297          <indexterm zone="ch-system-systemd halt">
    257298            <primary sortas="b-halt">halt</primary>
     
    263304        <term><command>hostnamectl</command></term>
    264305        <listitem>
    265           <para>used to query and change the system hostname and related
    266           settings.</para>
     306          <para>Used to query and change the system hostname and related
     307          settings</para>
    267308          <indexterm zone="ch-system-systemd hostnamectl">
    268309            <primary sortas="b-hostnamectl">hostnamectl</primary>
     
    276317          <para>The first process to be started when the kernel has initialized
    277318          the hardware which takes over the boot process and starts all the
    278           proceses it is instructed to.</para>
     319          proceses it is instructed to</para>
    279320          <indexterm zone="ch-system-systemd init">
    280321            <primary sortas="b-init">init</primary>
     
    286327        <term><command>journalctl</command></term>
    287328        <listitem>
    288           <para>used to query the contents of the Systemd Journal.</para>
     329          <para>Used to query the contents of the systemd Journal</para>
    289330          <indexterm zone="ch-system-systemd journalctl">
    290331            <primary sortas="b-journalctl">journalctl</primary>
     
    296337        <term><command>kernel-install</command></term>
    297338        <listitem>
    298           <para>used to add and remove kernel and initramfs images to and
    299           from /boot.</para>
     339          <para>Used to add and remove kernel and initramfs images to and
     340          from /boot</para>
    300341          <indexterm zone="ch-system-systemd kernel-install">
    301342            <primary sortas="b-kernel-install">kernel-install</primary>
     
    307348        <term><command>localectl</command></term>
    308349        <listitem>
    309           <para>used to query and change the system locale and keyboard layout
    310           settings.</para>
     350          <para>Used to query and change the system locale and keyboard layout
     351          settings</para>
    311352          <indexterm zone="ch-system-systemd localectl">
    312353            <primary sortas="b-localectl">localectl</primary>
     
    318359        <term><command>loginctl</command></term>
    319360        <listitem>
    320           <para>used to introspect and control the state of the Systemd Login
    321           Manager.</para>
     361          <para>Used to introspect and control the state of the systemd Login
     362          Manager</para>
    322363          <indexterm zone="ch-system-systemd loginctl">
    323364            <primary sortas="b-loginctl">loginctl</primary>
     
    329370        <term><command>machinectl</command></term>
    330371        <listitem>
    331           <para>used to introspect and control the state of the Systemd Virtual
     372          <para>Used to introspect and control the state of the systemd Virtual
    332373          Machine and Container Registration Manager</para>
    333374          <indexterm zone="ch-system-systemd machinectl">
     
    337378      </varlistentry>
    338379
     380      <varlistentry id="networkctl">
     381        <term><command>networkctl</command></term>
     382        <listitem>
     383          <para>Used to introspect the state of the network links as seen by
     384          systemd-networkd</para>
     385          <indexterm zone="ch-system-systemd networkctl">
     386            <primary sortas="b-networkctl">networkctl</primary>
     387          </indexterm>
     388        </listitem>
     389      </varlistentry>
     390
    339391      <varlistentry id="poweroff">
    340392        <term><command>poweroff</command></term>
    341393        <listitem>
    342394          <para>Tells the kernel to halt the system and switch off the computer
    343           (see <command>halt</command>).</para>
     395          (see <command>halt</command>)</para>
    344396          <indexterm zone="ch-system-systemd poweroff">
    345397            <primary sortas="b-poweroff">poweroff</primary>
     
    352404        <listitem>
    353405          <para>Tells the kernel to reboot the system (see
    354           <command>halt</command>).</para>
     406          <command>halt</command>)</para>
    355407          <indexterm zone="ch-system-systemd reboot">
    356408            <primary sortas="b-reboot">reboot</primary>
     
    363415        <listitem>
    364416          <para>Reports the previous and the current run-level, as noted in the
    365           last run-level record in <filename>/var/run/utmp</filename>.</para>
     417          last run-level record in <filename>/var/run/utmp</filename></para>
    366418          <indexterm zone="ch-system-systemd runlevel">
    367419            <primary sortas="b-runlevel">runlevel</primary>
     
    374426        <listitem>
    375427          <para>Brings the system down in a secure way, signaling all processes
    376           and notifying all logged-in users.</para>
     428          and notifying all logged-in users</para>
    377429          <indexterm zone="ch-system-systemd shutdown">
    378430            <primary sortas="b-shutdown">shutdown</primary>
     
    384436        <term><command>systemctl</command></term>
    385437        <listitem>
    386           <para>used to introspect and control the state of the Systemd system and
    387           service manager.</para>
     438          <para>Used to introspect and control the state of the systemd system
     439          and service manager</para>
    388440          <indexterm zone="ch-system-systemd systemctl">
    389441            <primary sortas="b-systemctl">systemctl</primary>
     
    395447        <term><command>systemd-analyze</command></term>
    396448        <listitem>
    397           <para>used to determine system boot-up performance of the current boot.
    398           </para>
     449          <para>Used to determine system boot-up performance of the current
     450          boot</para>
    399451          <indexterm zone="ch-system-systemd systemd-analyze">
    400452            <primary sortas="b-systemd-analyze">systemd-analyze</primary>
     
    406458        <term><command>systemd-ask-password</command></term>
    407459        <listitem>
    408           <para>used to query a system password or passphrase from the user, using a
    409           question message specified on the command line.</para>
     460          <para>Used to query a system password or passphrase from the user,
     461          using a question message specified on the command line</para>
    410462          <indexterm zone="ch-system-systemd systemd-ask-password">
    411463            <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
     
    417469        <term><command>systemd-cat</command></term>
    418470        <listitem>
    419           <para>used to connect STDOUT and STDERR of a process with the Journal.
     471          <para>Used to connect STDOUT and STDERR of a process with the Journal
    420472          </para>
    421473          <indexterm zone="ch-system-systemd systemd-cat">
     
    428480        <term><command>systemd-cgls</command></term>
    429481        <listitem>
    430           <para>recursively shows the contents of the selected Linux control group
    431           hierarchy in a tree.</para>
     482          <para>Recursively shows the contents of the selected Linux control
     483          group hierarchy in a tree</para>
    432484          <indexterm zone="ch-system-systemd systemd-cgls">
    433485            <primary sortas="b-systemd-cgls">systemd-cgls</primary>
     
    439491        <term><command>systemd-cgtop</command></term>
    440492        <listitem>
    441           <para>shows the top control groups of the local Linux control group hierarchy,
    442           ordered by their CPU, memory and disk I/O load.</para>
     493          <para>Shows the top control groups of the local Linux control group
     494          hierarchy, ordered by their CPU, memory and disk I/O load</para>
    443495          <indexterm zone="ch-system-systemd systemd-cgtop">
    444496            <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
     
    447499      </varlistentry>
    448500
    449       <varlistentry id="systemd-coredumpctl">
    450         <term><command>systemd-coredumpctl</command></term>
    451         <listitem>
    452           <para>used to retrieve coredumps from the Systemd Journal</para>
    453           <indexterm zone="ch-system-systemd systemd-coredumpctl">
    454             <primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary>
    455           </indexterm>
    456         </listitem>
    457       </varlistentry>
    458 
    459501      <varlistentry id="systemd-delta">
    460502        <term><command>systemd-delta</command></term>
    461503        <listitem>
    462           <para>used to identify and compare configuration files in
     504          <para>Used to identify and compare configuration files in
    463505          <filename class="directory">/etc</filename> that override default
    464           counterparts in <filename class="directory">/usr</filename>.</para>
     506          counterparts in <filename class="directory">/usr</filename></para>
    465507          <indexterm zone="ch-system-systemd systemd-delta">
    466508            <primary sortas="b-systemd-delta">systemd-delta</primary>
     
    472514        <term><command>systemd-detect-virt</command></term>
    473515        <listitem>
    474           <para>detects execution in a virtualized environment.</para>
     516          <para>Detects execution in a virtualized environment</para>
    475517          <indexterm zone="ch-system-systemd systemd-detect-virt">
    476518            <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
     
    479521      </varlistentry>
    480522
     523      <varlistentry id="systemd-escape">
     524        <term><command>systemd-escape</command></term>
     525        <listitem>
     526          <para>Used to escape strings for inclusion in systemd unit
     527          names</para>
     528          <indexterm zone="ch-system-systemd systemd-escape">
     529            <primary sortas="b-systemd-escape">systemd-escape</primary>
     530          </indexterm>
     531        </listitem>
     532      </varlistentry>
     533
     534      <varlistentry id="systemd-hwdb">
     535        <term><command>systemd-hwdb</command></term>
     536        <listitem>
     537          <para>Used to manage hardware database (hwdb)</para>
     538          <indexterm zone="ch-system-systemd systemd-hwdb">
     539            <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
     540          </indexterm>
     541        </listitem>
     542      </varlistentry>
     543
    481544      <varlistentry id="systemd-inhibit">
    482545        <term><command>systemd-inhibit</command></term>
    483546        <listitem>
    484           <para>used to execute a program with a shutdown, sleep or idle inhibitor lock
    485           taken.</para>
     547          <para>Used to execute a program with a shutdown, sleep or idle
     548          inhibitor lock taken</para>
    486549          <indexterm zone="ch-system-systemd systemd-inhibit">
    487550            <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
     
    493556        <term><command>systemd-machine-id-setup</command></term>
    494557        <listitem>
    495           <para>used by system installer tools to initialize the machine ID stored in
    496           <filename>/etc/machine-id</filename> at install time with a randomly
    497           generated ID.</para>
     558          <para>Used by system installer tools to initialize the machine ID
     559          stored in <filename>/etc/machine-id</filename> at install time with a
     560          randomly generated ID</para>
    498561          <indexterm zone="ch-system-systemd systemd-machine-id-setup">
    499562            <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
     
    505568        <term><command>systemd-notify</command></term>
    506569        <listitem>
    507           <para>used by daemon scripts to notify the init system about status changes.
    508           </para>
     570          <para>Used by daemon scripts to notify the init system about status
     571          changes</para>
    509572          <indexterm zone="ch-system-systemd systemd-notify">
    510573            <primary sortas="b-systemd-notify">systemd-notify</primary>
     
    516579        <term><command>systemd-nspawn</command></term>
    517580        <listitem>
    518           <para>used to run a command or OS in a light-weight namespace container.</para>
     581          <para>Used to run a command or OS in a light-weight namespace
     582          container</para>
    519583          <indexterm zone="ch-system-systemd systemd-nspawn">
    520584            <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
     
    523587      </varlistentry>
    524588
     589      <varlistentry id="systemd-path">
     590        <term><command>systemd-path</command></term>
     591        <listitem>
     592          <para>Used to query system and user paths</para>
     593          <indexterm zone="ch-system-systemd systemd-path">
     594            <primary sortas="b-systemd-path">systemd-path</primary>
     595          </indexterm>
     596        </listitem>
     597      </varlistentry>
     598
     599      <varlistentry id="systemd-resolve">
     600        <term><command>systemd-resolve</command></term>
     601        <listitem>
     602          <para>Used to resolve domain names, IPV4 and IPv6 addresses, DNS
     603          resource records, and services</para>
     604          <indexterm zone="ch-system-systemd systemd-resolve">
     605            <primary sortas="b-systemd-resolve">systemd-resolve</primary>
     606          </indexterm>
     607        </listitem>
     608      </varlistentry>
     609
    525610      <varlistentry id="systemd-run">
    526611        <term><command>systemd-run</command></term>
    527612        <listitem>
    528           <para>used to create and start a transient .service or a .scope unit and
    529           run the specified command in it.</para>
     613          <para>Used to create and start a transient .service or a .scope unit
     614          and run the specified command in it</para>
    530615          <indexterm zone="ch-system-systemd systemd-run">
    531616            <primary sortas="b-systemd-run">systemd-run</primary>
     
    534619      </varlistentry>
    535620
    536 <!--      <varlistentry id="systemd-stdio-bridge">
     621      <!-- <varlistentry id="systemd-stdio-bridge">
    537622        <term><command>systemd-stdio-bridge</command></term>
    538623        <listitem>
     
    547632        <term><command>systemd-tmpfiles</command></term>
    548633        <listitem>
    549           <para>creates, deletes and cleans up volatile and temporary files and directories,
    550           based on the configuration file format and location specified in
    551           <filename class="directory">tmpfiles.d</filename> directories.</para>
     634          <para>Creates, deletes and cleans up volatile and temporary files and
     635          directories, based on the configuration file format and location
     636          specified in
     637          <filename class="directory">tmpfiles.d</filename> directories</para>
    552638          <indexterm zone="ch-system-systemd systemd-tmpfiles">
    553639            <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
     
    559645        <term><command>systemd-tty-ask-password-agent</command></term>
    560646        <listitem>
    561           <para>used to list or process pending Systemd password requests</para>
     647          <para>Used to list or process pending systemd password requests</para>
    562648          <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
    563649            <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
     
    569655        <term><command>telinit</command></term>
    570656        <listitem>
    571           <para>Tells <command>init</command> which run-level to change to.</para>
     657          <para>Tells <command>init</command> which run-level to change
     658          to</para>
    572659          <indexterm zone="ch-system-systemd telinit">
    573660            <primary sortas="b-telinit">telinit</primary>
     
    579666        <term><command>timedatectl</command></term>
    580667        <listitem>
    581           <para>used to query and change the system clock and its settings.
     668          <para>Used to query and change the system clock and its settings
    582669          </para>
    583670          <indexterm zone="ch-system-systemd timedatectl">
     
    593680          provides info from the Udev database, monitors uevents, waits for
    594681          uevents to finish, tests Udev configuration, and triggers uevents
    595           for a given device.</para>
     682          for a given device</para>
    596683          <indexterm zone="ch-system-systemd udevadm">
    597684            <primary sortas="b-udevadm">udevadm</primary>
     
    603690        <term><filename class="libraryfile">libsystemd</filename></term>
    604691        <listitem>
    605           <para>Systemd utility library.</para>
     692          <para>systemd utility library</para>
    606693          <indexterm zone="ch-system-systemd libsystemd">
    607694            <primary sortas="c-libsystemd">libsystemd</primary>
     
    613700        <term><filename class="libraryfile">libudev</filename></term>
    614701        <listitem>
    615           <para>A library to access Udev device information.</para>
     702          <para>A library to access Udev device information</para>
    616703          <indexterm zone="ch-system-systemd libudev">
    617704            <primary sortas="c-libudev">libudev</primary>
  • chapter06/util-linux.xml

    r11ebea6 r1118b17  
    6363    <para>Prepare Util-linux for compilation:</para>
    6464
    65 <screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     65<screen revision="sysv"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
    6666            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
    6767            --disable-chfn-chsh  \
     
    7676            --without-systemd    \
    7777            --without-systemdsystemunitdir</userinput></screen>
     78
     79<screen revision="systemd"><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime   \
     80            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
     81            --disable-chfn-chsh  \
     82            --disable-login      \
     83            --disable-nologin    \
     84            --disable-su         \
     85            --disable-setpriv    \
     86            --disable-runuser    \
     87            --disable-pylibmount \
     88            --disable-static     \
     89            --without-python</userinput></screen>
    7890
    7991    <para>The --disable and --without options prevent warnings about
Note: See TracChangeset for help on using the changeset viewer.