Rename Systemd -> systemd before Lennart comes into my nightmares. Some cosmetic fixes to systemd command explanations.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10595 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Krejzi 2014-06-29 15:11:34 +00:00
parent 50acf59110
commit 5efe553c82
3 changed files with 37 additions and 37 deletions

View File

@ -88,7 +88,7 @@
<screen><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib <screen><userinput remap="install">mv -v /usr/lib/libdbus-1.so.* /lib
ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen>
<para>Create a symlink, so that D-Bus and Systemd can use the same <para>Create a symlink, so that D-Bus and systemd can use the same
<filename>machine-id</filename> file:</para> <filename>machine-id</filename> file:</para>
<screen><userinput remap="install">ln -sv /etc/machine-id /var/lib/dbus</userinput></screen> <screen><userinput remap="install">ln -sv /etc/machine-id /var/lib/dbus</userinput></screen>

View File

@ -181,7 +181,7 @@ grep Error glibc-check-log</userinput></screen>
<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
mkdir -pv /var/cache/nscd</userinput></screen> mkdir -pv /var/cache/nscd</userinput></screen>
<para>Install the Systemd support files for <command>nscd</command>:</para> <para>Install the systemd support files for <command>nscd</command>:</para>
<screen><userinput remap="install">install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf <screen><userinput remap="install">install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf
install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen> install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>

View File

@ -17,13 +17,13 @@
<title>Systemd-&systemd-version;</title> <title>Systemd-&systemd-version;</title>
<indexterm zone="ch-system-systemd"> <indexterm zone="ch-system-systemd">
<primary sortas="a-Systemd">Systemd</primary> <primary sortas="a-systemd">systemd</primary>
</indexterm> </indexterm>
<sect2 role="package"> <sect2 role="package">
<title/> <title/>
<para>The Systemd package contains programs for controlling the startup, <para>The systemd package contains programs for controlling the startup,
running, and shutdown of the system.</para> running, and shutdown of the system.</para>
<segmentedlist> <segmentedlist>
@ -38,9 +38,9 @@
</sect2> </sect2>
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Systemd</title> <title>Installation of systemd</title>
<para>First, create a file to allow Systemd to build when using Util-Linux <para>First, create a file to allow systemd to build when using Util-Linux
built in Chapter 5:</para> built in Chapter 5:</para>
<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF" <screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
@ -60,7 +60,7 @@ EOF</userinput></screen>
<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
<para>Prepare Systemd for compilation:</para> <para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \ <screen><userinput remap="configure">./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
@ -101,7 +101,7 @@ EOF</userinput></screen>
<varlistentry> <varlistentry>
<term><parameter>--enable-split-usr</parameter></term> <term><parameter>--enable-split-usr</parameter></term>
<listitem> <listitem>
<para>This switch ensures that Systemd will work on <para>This switch ensures that systemd will work on
systems where /bin, /lib and /sbin directories are not systems where /bin, /lib and /sbin directories are not
symlinks to their /usr counterparts.</para> symlinks to their /usr counterparts.</para>
</listitem> </listitem>
@ -118,7 +118,7 @@ EOF</userinput></screen>
<varlistentry> <varlistentry>
<term><parameter>--with-dbus*</parameter></term> <term><parameter>--with-dbus*</parameter></term>
<listitem> <listitem>
<para>These switches ensure that D-Bus configuratil files <para>These switches ensure that D-Bus configuration files
get installed in the correct locations.</para> get installed in the correct locations.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -142,7 +142,7 @@ EOF</userinput></screen>
<para>Note that some tests might fail because the test are being run in a <para>Note that some tests might fail because the test are being run in a
chroot environment. For full test coverage, the test suite should be run chroot environment. For full test coverage, the test suite should be run
from a system booted using Systemd.</para> from a system booted using systemd.</para>
<para>Install the package:</para> <para>Install the package:</para>
@ -157,7 +157,7 @@ EOF</userinput></screen>
<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen> <screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
<para>Create the Sysvinit compatibility symlinks, so Systemd is used <para>Create the Sysvinit compatibility symlinks, so systemd is used
as the default init system:</para> as the default init system:</para>
<screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do <screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do
@ -177,7 +177,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
</sect2> </sect2>
<sect2 id="contents-systemd" role="content"> <sect2 id="contents-systemd" role="content">
<title>Contents of Systemd</title> <title>Contents of systemd</title>
<segmentedlist> <segmentedlist>
<segtitle>Installed programs</segtitle> <segtitle>Installed programs</segtitle>
@ -222,7 +222,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="busctl"> <varlistentry id="busctl">
<term><command>busctl</command></term> <term><command>busctl</command></term>
<listitem> <listitem>
<para>used to introspect and monitor the D-Bus bus.</para> <para>Used to introspect and monitor the D-Bus bus.</para>
<indexterm zone="ch-system-systemd busctl"> <indexterm zone="ch-system-systemd busctl">
<primary sortas="b-busctl">busctl</primary> <primary sortas="b-busctl">busctl</primary>
</indexterm> </indexterm>
@ -246,7 +246,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="hostnamectl"> <varlistentry id="hostnamectl">
<term><command>hostnamectl</command></term> <term><command>hostnamectl</command></term>
<listitem> <listitem>
<para>used to query and change the system hostname and related <para>Used to query and change the system hostname and related
settings.</para> settings.</para>
<indexterm zone="ch-system-systemd hostnamectl"> <indexterm zone="ch-system-systemd hostnamectl">
<primary sortas="b-hostnamectl">hostnamectl</primary> <primary sortas="b-hostnamectl">hostnamectl</primary>
@ -269,7 +269,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="journalctl"> <varlistentry id="journalctl">
<term><command>journalctl</command></term> <term><command>journalctl</command></term>
<listitem> <listitem>
<para>used to query the contents of the Systemd Journal.</para> <para>Used to query the contents of the systemd Journal.</para>
<indexterm zone="ch-system-systemd journalctl"> <indexterm zone="ch-system-systemd journalctl">
<primary sortas="b-journalctl">journalctl</primary> <primary sortas="b-journalctl">journalctl</primary>
</indexterm> </indexterm>
@ -279,7 +279,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="kernel-install"> <varlistentry id="kernel-install">
<term><command>kernel-install</command></term> <term><command>kernel-install</command></term>
<listitem> <listitem>
<para>used to add and remove kernel and initramfs images to and <para>Used to add and remove kernel and initramfs images to and
from /boot.</para> from /boot.</para>
<indexterm zone="ch-system-systemd kernel-install"> <indexterm zone="ch-system-systemd kernel-install">
<primary sortas="b-kernel-install">kernel-install</primary> <primary sortas="b-kernel-install">kernel-install</primary>
@ -290,7 +290,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="localectl"> <varlistentry id="localectl">
<term><command>localectl</command></term> <term><command>localectl</command></term>
<listitem> <listitem>
<para>used to query and change the system locale and keyboard layout <para>Used to query and change the system locale and keyboard layout
settings.</para> settings.</para>
<indexterm zone="ch-system-systemd localectl"> <indexterm zone="ch-system-systemd localectl">
<primary sortas="b-localectl">localectl</primary> <primary sortas="b-localectl">localectl</primary>
@ -301,7 +301,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="loginctl"> <varlistentry id="loginctl">
<term><command>loginctl</command></term> <term><command>loginctl</command></term>
<listitem> <listitem>
<para>used to introspect and control the state of the Systemd Login <para>Used to introspect and control the state of the systemd Login
Manager.</para> Manager.</para>
<indexterm zone="ch-system-systemd loginctl"> <indexterm zone="ch-system-systemd loginctl">
<primary sortas="b-loginctl">loginctl</primary> <primary sortas="b-loginctl">loginctl</primary>
@ -312,7 +312,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="machinectl"> <varlistentry id="machinectl">
<term><command>machinectl</command></term> <term><command>machinectl</command></term>
<listitem> <listitem>
<para>used to introspect and control the state of the Systemd Virtual <para>Used to introspect and control the state of the systemd Virtual
Machine and Container Registration Manager</para> Machine and Container Registration Manager</para>
<indexterm zone="ch-system-systemd machinectl"> <indexterm zone="ch-system-systemd machinectl">
<primary sortas="b-machinectl">machinectl</primary> <primary sortas="b-machinectl">machinectl</primary>
@ -367,7 +367,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemctl"> <varlistentry id="systemctl">
<term><command>systemctl</command></term> <term><command>systemctl</command></term>
<listitem> <listitem>
<para>used to introspect and control the state of the Systemd system and <para>Used to introspect and control the state of the systemd system and
service manager.</para> service manager.</para>
<indexterm zone="ch-system-systemd systemctl"> <indexterm zone="ch-system-systemd systemctl">
<primary sortas="b-systemctl">systemctl</primary> <primary sortas="b-systemctl">systemctl</primary>
@ -378,7 +378,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-analyze"> <varlistentry id="systemd-analyze">
<term><command>systemd-analyze</command></term> <term><command>systemd-analyze</command></term>
<listitem> <listitem>
<para>used to determine system boot-up performance of the current boot. <para>Used to determine system boot-up performance of the current boot.
</para> </para>
<indexterm zone="ch-system-systemd systemd-analyze"> <indexterm zone="ch-system-systemd systemd-analyze">
<primary sortas="b-systemd-analyze">systemd-analyze</primary> <primary sortas="b-systemd-analyze">systemd-analyze</primary>
@ -389,7 +389,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-ask-password"> <varlistentry id="systemd-ask-password">
<term><command>systemd-ask-password</command></term> <term><command>systemd-ask-password</command></term>
<listitem> <listitem>
<para>used to query a system password or passphrase from the user, using a <para>Used to query a system password or passphrase from the user, using a
question message specified on the command line.</para> question message specified on the command line.</para>
<indexterm zone="ch-system-systemd systemd-ask-password"> <indexterm zone="ch-system-systemd systemd-ask-password">
<primary sortas="b-systemd-ask-password">systemd-ask-password</primary> <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
@ -400,7 +400,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-cat"> <varlistentry id="systemd-cat">
<term><command>systemd-cat</command></term> <term><command>systemd-cat</command></term>
<listitem> <listitem>
<para>used to connect STDOUT and STDERR of a process with the Journal. <para>Used to connect STDOUT and STDERR of a process with the Journal.
</para> </para>
<indexterm zone="ch-system-systemd systemd-cat"> <indexterm zone="ch-system-systemd systemd-cat">
<primary sortas="b-systemd-cat">systemd-cat</primary> <primary sortas="b-systemd-cat">systemd-cat</primary>
@ -411,7 +411,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-cgls"> <varlistentry id="systemd-cgls">
<term><command>systemd-cgls</command></term> <term><command>systemd-cgls</command></term>
<listitem> <listitem>
<para>recursively shows the contents of the selected Linux control group <para>Recursively shows the contents of the selected Linux control group
hierarchy in a tree.</para> hierarchy in a tree.</para>
<indexterm zone="ch-system-systemd systemd-cgls"> <indexterm zone="ch-system-systemd systemd-cgls">
<primary sortas="b-systemd-cgls">systemd-cgls</primary> <primary sortas="b-systemd-cgls">systemd-cgls</primary>
@ -422,7 +422,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-cgtop"> <varlistentry id="systemd-cgtop">
<term><command>systemd-cgtop</command></term> <term><command>systemd-cgtop</command></term>
<listitem> <listitem>
<para>shows the top control groups of the local Linux control group hierarchy, <para>Shows the top control groups of the local Linux control group hierarchy,
ordered by their CPU, memory and disk I/O load.</para> ordered by their CPU, memory and disk I/O load.</para>
<indexterm zone="ch-system-systemd systemd-cgtop"> <indexterm zone="ch-system-systemd systemd-cgtop">
<primary sortas="b-systemd-cgtop">systemd-cgtop</primary> <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
@ -433,7 +433,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-coredumpctl"> <varlistentry id="systemd-coredumpctl">
<term><command>systemd-coredumpctl</command></term> <term><command>systemd-coredumpctl</command></term>
<listitem> <listitem>
<para>used to retrieve coredumps from the Systemd Journal</para> <para>Used to retrieve coredumps from the systemd Journal</para>
<indexterm zone="ch-system-systemd systemd-coredumpctl"> <indexterm zone="ch-system-systemd systemd-coredumpctl">
<primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary> <primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary>
</indexterm> </indexterm>
@ -443,7 +443,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-delta"> <varlistentry id="systemd-delta">
<term><command>systemd-delta</command></term> <term><command>systemd-delta</command></term>
<listitem> <listitem>
<para>used to identify and compare configuration files in <para>Used to identify and compare configuration files in
<filename class="directory">/etc</filename> that override default <filename class="directory">/etc</filename> that override default
counterparts in <filename class="directory">/usr</filename>.</para> counterparts in <filename class="directory">/usr</filename>.</para>
<indexterm zone="ch-system-systemd systemd-delta"> <indexterm zone="ch-system-systemd systemd-delta">
@ -455,7 +455,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-detect-virt"> <varlistentry id="systemd-detect-virt">
<term><command>systemd-detect-virt</command></term> <term><command>systemd-detect-virt</command></term>
<listitem> <listitem>
<para>detects execution in a virtualized environment.</para> <para>Detects execution in a virtualized environment.</para>
<indexterm zone="ch-system-systemd systemd-detect-virt"> <indexterm zone="ch-system-systemd systemd-detect-virt">
<primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary> <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
</indexterm> </indexterm>
@ -465,7 +465,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-inhibit"> <varlistentry id="systemd-inhibit">
<term><command>systemd-inhibit</command></term> <term><command>systemd-inhibit</command></term>
<listitem> <listitem>
<para>used to execute a program with a shutdown, sleep or idle inhibitor lock <para>Used to execute a program with a shutdown, sleep or idle inhibitor lock
taken.</para> taken.</para>
<indexterm zone="ch-system-systemd systemd-inhibit"> <indexterm zone="ch-system-systemd systemd-inhibit">
<primary sortas="b-systemd-inhibit">systemd-inhibit</primary> <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
@ -476,7 +476,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-machine-id-setup"> <varlistentry id="systemd-machine-id-setup">
<term><command>systemd-machine-id-setup</command></term> <term><command>systemd-machine-id-setup</command></term>
<listitem> <listitem>
<para>used by system installer tools to initialize the machine ID stored in <para>Used by system installer tools to initialize the machine ID stored in
<filename>/etc/machine-id</filename> at install time with a randomly <filename>/etc/machine-id</filename> at install time with a randomly
generated ID.</para> generated ID.</para>
<indexterm zone="ch-system-systemd systemd-machine-id-setup"> <indexterm zone="ch-system-systemd systemd-machine-id-setup">
@ -488,7 +488,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-notify"> <varlistentry id="systemd-notify">
<term><command>systemd-notify</command></term> <term><command>systemd-notify</command></term>
<listitem> <listitem>
<para>used by daemon scripts to notify the init system about status changes. <para>Used by daemon scripts to notify the init system about status changes.
</para> </para>
<indexterm zone="ch-system-systemd systemd-notify"> <indexterm zone="ch-system-systemd systemd-notify">
<primary sortas="b-systemd-notify">systemd-notify</primary> <primary sortas="b-systemd-notify">systemd-notify</primary>
@ -499,7 +499,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-nspawn"> <varlistentry id="systemd-nspawn">
<term><command>systemd-nspawn</command></term> <term><command>systemd-nspawn</command></term>
<listitem> <listitem>
<para>used to run a command or OS in a light-weight namespace container.</para> <para>Used to run a command or OS in a light-weight namespace container.</para>
<indexterm zone="ch-system-systemd systemd-nspawn"> <indexterm zone="ch-system-systemd systemd-nspawn">
<primary sortas="b-systemd-nspawn">systemd-nspawn</primary> <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
</indexterm> </indexterm>
@ -509,7 +509,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-run"> <varlistentry id="systemd-run">
<term><command>systemd-run</command></term> <term><command>systemd-run</command></term>
<listitem> <listitem>
<para>used to create and start a transient .service or a .scope unit and <para>Used to create and start a transient .service or a .scope unit and
run the specified command in it.</para> run the specified command in it.</para>
<indexterm zone="ch-system-systemd systemd-run"> <indexterm zone="ch-system-systemd systemd-run">
<primary sortas="b-systemd-run">systemd-run</primary> <primary sortas="b-systemd-run">systemd-run</primary>
@ -530,7 +530,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-tmpfiles"> <varlistentry id="systemd-tmpfiles">
<term><command>systemd-tmpfiles</command></term> <term><command>systemd-tmpfiles</command></term>
<listitem> <listitem>
<para>creates, deletes and cleans up volatile and temporary files and directories, <para>Creates, deletes and cleans up volatile and temporary files and directories,
based on the configuration file format and location specified in based on the configuration file format and location specified in
<filename class="directory">tmpfiles.d</filename> directories.</para> <filename class="directory">tmpfiles.d</filename> directories.</para>
<indexterm zone="ch-system-systemd systemd-tmpfiles"> <indexterm zone="ch-system-systemd systemd-tmpfiles">
@ -542,7 +542,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="systemd-tty-ask-password-agent"> <varlistentry id="systemd-tty-ask-password-agent">
<term><command>systemd-tty-ask-password-agent</command></term> <term><command>systemd-tty-ask-password-agent</command></term>
<listitem> <listitem>
<para>used to list or process pending Systemd password requests</para> <para>Used to list or process pending systemd password requests</para>
<indexterm zone="ch-system-systemd systemd-tty-ask-password-agent"> <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
<primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary> <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
</indexterm> </indexterm>
@ -562,7 +562,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="timedatectl"> <varlistentry id="timedatectl">
<term><command>timedatectl</command></term> <term><command>timedatectl</command></term>
<listitem> <listitem>
<para>used to query and change the system clock and its settings. <para>Used to query and change the system clock and its settings.
</para> </para>
<indexterm zone="ch-system-systemd timedatectl"> <indexterm zone="ch-system-systemd timedatectl">
<primary sortas="b-timedatectl">timedatectl</primary> <primary sortas="b-timedatectl">timedatectl</primary>
@ -586,7 +586,7 @@ ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
<varlistentry id="libsystemd"> <varlistentry id="libsystemd">
<term><filename class="libraryfile">libsystemd</filename></term> <term><filename class="libraryfile">libsystemd</filename></term>
<listitem> <listitem>
<para>Systemd utility library.</para> <para>systemd utility library.</para>
<indexterm zone="ch-system-systemd libsystemd"> <indexterm zone="ch-system-systemd libsystemd">
<primary sortas="c-libsystemd">libsystemd</primary> <primary sortas="c-libsystemd">libsystemd</primary>
</indexterm> </indexterm>