[f896e21c] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[cba2d4e] | 8 | <sect1 id="ch-system-systemd" role="wrap">
|
---|
| 9 | <?dbhtml filename="systemd.html"?>
|
---|
[f896e21c] | 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
[cba2d4e] | 12 | <productname>systemd</productname>
|
---|
[f896e21c] | 13 | <productnumber>&systemd-version;</productnumber>
|
---|
| 14 | <address>&systemd-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[cba2d4e] | 17 | <title>Systemd-&systemd-version;</title>
|
---|
[f896e21c] | 18 |
|
---|
[cba2d4e] | 19 | <indexterm zone="ch-system-systemd">
|
---|
| 20 | <primary sortas="a-Systemd">Systemd</primary>
|
---|
[f896e21c] | 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
[cba2d4e] | 26 | <para>The Systemd package contains programs for controlling the startup,
|
---|
| 27 | running, and shutdown of the system.</para>
|
---|
[f896e21c] | 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 |
|
---|
| 33 | <seglistitem>
|
---|
| 34 | <seg>&systemd-ch6-sbu;</seg>
|
---|
| 35 | <seg>&systemd-ch6-du;</seg>
|
---|
| 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
[cba2d4e] | 41 | <title>Installation of Systemd</title>
|
---|
[f896e21c] | 42 |
|
---|
[df37fa9] | 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 |
|
---|
[cba2d4e] | 49 | <para>First, create a file to allow Systemd to build when using Util-Linux
|
---|
| 50 | built in Chapter 5:</para>
|
---|
[d7f2eb0] | 51 |
|
---|
[cba2d4e] | 52 | <screen><userinput remap="pre">cat > config.cache << "EOF"
|
---|
| 53 | <literal>KILL=/bin/kill
|
---|
| 54 | HAVE_BLKID=1
|
---|
| 55 | BLKID_LIBS="-lblkid"
|
---|
[61d3147] | 56 | BLKID_CFLAGS="-I/tools/include/blkid"
|
---|
| 57 | cc_cv_CFLAGS__flto=no</literal>
|
---|
[cba2d4e] | 58 | EOF</userinput></screen>
|
---|
[f896e21c] | 59 |
|
---|
[85583fa8] | 60 | <para>Additionally, fix a build error when using Util-Linux built in
|
---|
[cba2d4e] | 61 | Chapter 5:</para>
|
---|
[f896e21c] | 62 |
|
---|
[cba2d4e] | 63 | <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
|
---|
[053b206] | 64 |
|
---|
[cba2d4e] | 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>
|
---|
[053b206] | 67 |
|
---|
[cba2d4e] | 68 | <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
|
---|
[f896e21c] | 69 |
|
---|
[cba2d4e] | 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>
|
---|
| 86 |
|
---|
| 87 | <variablelist>
|
---|
| 88 | <title>The meaning of the configure options:</title>
|
---|
| 89 |
|
---|
| 90 | <varlistentry>
|
---|
| 91 | <term><parameter>--config-cache</parameter></term>
|
---|
| 92 | <listitem>
|
---|
| 93 | <para>This switch tells the build system to use
|
---|
| 94 | the <filename>config.cache</filename> file which
|
---|
| 95 | was created earlier.</para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | <varlistentry>
|
---|
| 100 | <term><parameter>--with-root*</parameter></term>
|
---|
| 101 | <listitem>
|
---|
| 102 | <para>These switches ensure that core programs and
|
---|
| 103 | shared libraries are installed in the subdirectories
|
---|
| 104 | of the root partition.</para>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | <varlistentry>
|
---|
| 109 | <term><parameter>--enable-split-usr</parameter></term>
|
---|
| 110 | <listitem>
|
---|
| 111 | <para>This switch ensures that Systemd will work on
|
---|
| 112 | systems where /bin, /lib and /sbin directories are not
|
---|
| 113 | symlinks to their /usr counterparts.</para>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
| 117 | <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>
|
---|
| 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <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>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | </variablelist>
|
---|
| 134 |
|
---|
| 135 | <para>Compile the package:</para>
|
---|
| 136 |
|
---|
| 137 | <screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
|
---|
| 138 |
|
---|
| 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>
|
---|
[f896e21c] | 153 |
|
---|
| 154 | <para>Install the package:</para>
|
---|
| 155 |
|
---|
[cba2d4e] | 156 | <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
|
---|
| 157 |
|
---|
| 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>
|
---|
| 162 |
|
---|
| 163 | <para>Remove an unnecessary directory:</para>
|
---|
| 164 |
|
---|
| 165 | <screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
|
---|
[b7da138f] | 166 |
|
---|
[cba2d4e] | 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>
|
---|
[b7da138f] | 170 |
|
---|
[cba2d4e] | 171 | <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
|
---|
| 174 | done
|
---|
[b7da138f] | 175 |
|
---|
[cba2d4e] | 176 | ln -sfv ../lib/systemd/systemd /sbin/init-systemd
|
---|
| 177 | mv -v /etc/init.d /etc/init.d-systemd</userinput></screen>
|
---|
[d29a03b] | 178 |
|
---|
[cba2d4e] | 179 | <para>Remove a reference to a non-existent group:</para>
|
---|
[d29a03b] | 180 |
|
---|
[cba2d4e] | 181 | <screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
|
---|
[053b206] | 182 |
|
---|
[cba2d4e] | 183 | <para>Create the <filename>/etc/machine-id</filename> file needed by
|
---|
| 184 | Journald:</para>
|
---|
[053b206] | 185 |
|
---|
[cba2d4e] | 186 | <screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
|
---|
| 187 |
|
---|
| 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>
|
---|
[053b206] | 192 |
|
---|
[f896e21c] | 193 | </sect2>
|
---|
| 194 |
|
---|
[cba2d4e] | 195 | <sect2 id="contents-systemd" role="content">
|
---|
| 196 | <title>Contents of Systemd</title>
|
---|
[f896e21c] | 197 |
|
---|
| 198 | <segmentedlist>
|
---|
| 199 | <segtitle>Installed programs</segtitle>
|
---|
| 200 | <segtitle>Installed libraries</segtitle>
|
---|
| 201 | <segtitle>Installed directories</segtitle>
|
---|
| 202 |
|
---|
| 203 | <seglistitem>
|
---|
[cba2d4e] | 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,
|
---|
| 210 | telinit, timedatectl, and udevadm</seg>
|
---|
| 211 |
|
---|
| 212 | <seg>libnss_myhostname.so.2, libsystemd.so, libudev.so</seg>
|
---|
| 213 | <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
|
---|
| 214 | /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
|
---|
| 215 | /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
|
---|
| 216 | /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
|
---|
| 217 | /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>
|
---|
[f896e21c] | 220 | </seglistitem>
|
---|
| 221 | </segmentedlist>
|
---|
| 222 |
|
---|
| 223 | <variablelist>
|
---|
| 224 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 225 | <?dbfo list-presentation="list"?>
|
---|
| 226 | <?dbhtml list-presentation="table"?>
|
---|
| 227 |
|
---|
[cba2d4e] | 228 | <varlistentry id="bootctl">
|
---|
| 229 | <term><command>bootctl</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>used to query the firmware and boot manager settings.</para>
|
---|
| 232 | <indexterm zone="ch-system-systemd bootctl">
|
---|
| 233 | <primary sortas="b-bootctl">bootctl</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="busctl">
|
---|
| 239 | <term><command>busctl</command></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>used to introspect and monitor the D-Bus bus.</para>
|
---|
| 242 | <indexterm zone="ch-system-systemd busctl">
|
---|
| 243 | <primary sortas="b-busctl">busctl</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="halt">
|
---|
| 249 | <term><command>halt</command></term>
|
---|
| 250 | <listitem>
|
---|
| 251 | <para>Normally invokes <command>shutdown</command> with the
|
---|
| 252 | <parameter>-h</parameter> option, except when already in run-level 0,
|
---|
| 253 | then it tells the kernel to halt the system; it notes in the
|
---|
| 254 | file <filename>/var/log/wtmp</filename> that the system is being
|
---|
| 255 | brought down.</para>
|
---|
| 256 | <indexterm zone="ch-system-systemd halt">
|
---|
| 257 | <primary sortas="b-halt">halt</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 | </listitem>
|
---|
| 260 | </varlistentry>
|
---|
| 261 |
|
---|
| 262 | <varlistentry id="hostnamectl">
|
---|
| 263 | <term><command>hostnamectl</command></term>
|
---|
| 264 | <listitem>
|
---|
| 265 | <para>used to query and change the system hostname and related
|
---|
| 266 | settings.</para>
|
---|
| 267 | <indexterm zone="ch-system-systemd hostnamectl">
|
---|
| 268 | <primary sortas="b-hostnamectl">hostnamectl</primary>
|
---|
| 269 | </indexterm>
|
---|
| 270 | </listitem>
|
---|
| 271 | </varlistentry>
|
---|
| 272 |
|
---|
| 273 | <varlistentry id="init">
|
---|
| 274 | <term><command>init</command></term>
|
---|
| 275 | <listitem>
|
---|
| 276 | <para>The first process to be started when the kernel has initialized
|
---|
| 277 | the hardware which takes over the boot process and starts all the
|
---|
| 278 | proceses it is instructed to.</para>
|
---|
| 279 | <indexterm zone="ch-system-systemd init">
|
---|
| 280 | <primary sortas="b-init">init</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
| 285 | <varlistentry id="journalctl">
|
---|
| 286 | <term><command>journalctl</command></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para>used to query the contents of the Systemd Journal.</para>
|
---|
| 289 | <indexterm zone="ch-system-systemd journalctl">
|
---|
| 290 | <primary sortas="b-journalctl">journalctl</primary>
|
---|
| 291 | </indexterm>
|
---|
| 292 | </listitem>
|
---|
| 293 | </varlistentry>
|
---|
| 294 |
|
---|
| 295 | <varlistentry id="kernel-install">
|
---|
| 296 | <term><command>kernel-install</command></term>
|
---|
| 297 | <listitem>
|
---|
| 298 | <para>used to add and remove kernel and initramfs images to and
|
---|
| 299 | from /boot.</para>
|
---|
| 300 | <indexterm zone="ch-system-systemd kernel-install">
|
---|
| 301 | <primary sortas="b-kernel-install">kernel-install</primary>
|
---|
| 302 | </indexterm>
|
---|
| 303 | </listitem>
|
---|
| 304 | </varlistentry>
|
---|
| 305 |
|
---|
| 306 | <varlistentry id="localectl">
|
---|
| 307 | <term><command>localectl</command></term>
|
---|
| 308 | <listitem>
|
---|
| 309 | <para>used to query and change the system locale and keyboard layout
|
---|
| 310 | settings.</para>
|
---|
| 311 | <indexterm zone="ch-system-systemd localectl">
|
---|
| 312 | <primary sortas="b-localectl">localectl</primary>
|
---|
| 313 | </indexterm>
|
---|
| 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
| 316 |
|
---|
| 317 | <varlistentry id="loginctl">
|
---|
| 318 | <term><command>loginctl</command></term>
|
---|
| 319 | <listitem>
|
---|
| 320 | <para>used to introspect and control the state of the Systemd Login
|
---|
| 321 | Manager.</para>
|
---|
| 322 | <indexterm zone="ch-system-systemd loginctl">
|
---|
| 323 | <primary sortas="b-loginctl">loginctl</primary>
|
---|
| 324 | </indexterm>
|
---|
| 325 | </listitem>
|
---|
| 326 | </varlistentry>
|
---|
| 327 |
|
---|
| 328 | <varlistentry id="machinectl">
|
---|
| 329 | <term><command>machinectl</command></term>
|
---|
| 330 | <listitem>
|
---|
| 331 | <para>used to introspect and control the state of the Systemd Virtual
|
---|
| 332 | Machine and Container Registration Manager</para>
|
---|
| 333 | <indexterm zone="ch-system-systemd machinectl">
|
---|
| 334 | <primary sortas="b-machinectl">machinectl</primary>
|
---|
| 335 | </indexterm>
|
---|
| 336 | </listitem>
|
---|
| 337 | </varlistentry>
|
---|
| 338 |
|
---|
| 339 | <varlistentry id="poweroff">
|
---|
| 340 | <term><command>poweroff</command></term>
|
---|
| 341 | <listitem>
|
---|
| 342 | <para>Tells the kernel to halt the system and switch off the computer
|
---|
| 343 | (see <command>halt</command>).</para>
|
---|
| 344 | <indexterm zone="ch-system-systemd poweroff">
|
---|
| 345 | <primary sortas="b-poweroff">poweroff</primary>
|
---|
| 346 | </indexterm>
|
---|
| 347 | </listitem>
|
---|
| 348 | </varlistentry>
|
---|
| 349 |
|
---|
| 350 | <varlistentry id="reboot">
|
---|
| 351 | <term><command>reboot</command></term>
|
---|
[f896e21c] | 352 | <listitem>
|
---|
[cba2d4e] | 353 | <para>Tells the kernel to reboot the system (see
|
---|
| 354 | <command>halt</command>).</para>
|
---|
| 355 | <indexterm zone="ch-system-systemd reboot">
|
---|
| 356 | <primary sortas="b-reboot">reboot</primary>
|
---|
[f896e21c] | 357 | </indexterm>
|
---|
| 358 | </listitem>
|
---|
| 359 | </varlistentry>
|
---|
| 360 |
|
---|
[cba2d4e] | 361 | <varlistentry id="runlevel">
|
---|
| 362 | <term><command>runlevel</command></term>
|
---|
[f896e21c] | 363 | <listitem>
|
---|
[cba2d4e] | 364 | <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>
|
---|
| 366 | <indexterm zone="ch-system-systemd runlevel">
|
---|
| 367 | <primary sortas="b-runlevel">runlevel</primary>
|
---|
[f896e21c] | 368 | </indexterm>
|
---|
| 369 | </listitem>
|
---|
| 370 | </varlistentry>
|
---|
| 371 |
|
---|
[cba2d4e] | 372 | <varlistentry id="shutdown">
|
---|
| 373 | <term><command>shutdown</command></term>
|
---|
[f896e21c] | 374 | <listitem>
|
---|
[cba2d4e] | 375 | <para>Brings the system down in a secure way, signaling all processes
|
---|
| 376 | and notifying all logged-in users.</para>
|
---|
| 377 | <indexterm zone="ch-system-systemd shutdown">
|
---|
| 378 | <primary sortas="b-shutdown">shutdown</primary>
|
---|
[f896e21c] | 379 | </indexterm>
|
---|
| 380 | </listitem>
|
---|
| 381 | </varlistentry>
|
---|
| 382 |
|
---|
[cba2d4e] | 383 | <varlistentry id="systemctl">
|
---|
| 384 | <term><command>systemctl</command></term>
|
---|
[f896e21c] | 385 | <listitem>
|
---|
[cba2d4e] | 386 | <para>used to introspect and control the state of the Systemd system and
|
---|
| 387 | service manager.</para>
|
---|
| 388 | <indexterm zone="ch-system-systemd systemctl">
|
---|
| 389 | <primary sortas="b-systemctl">systemctl</primary>
|
---|
| 390 | </indexterm>
|
---|
| 391 | </listitem>
|
---|
| 392 | </varlistentry>
|
---|
| 393 |
|
---|
| 394 | <varlistentry id="systemd-analyze">
|
---|
| 395 | <term><command>systemd-analyze</command></term>
|
---|
| 396 | <listitem>
|
---|
| 397 | <para>used to determine system boot-up performance of the current boot.
|
---|
| 398 | </para>
|
---|
| 399 | <indexterm zone="ch-system-systemd systemd-analyze">
|
---|
| 400 | <primary sortas="b-systemd-analyze">systemd-analyze</primary>
|
---|
| 401 | </indexterm>
|
---|
| 402 | </listitem>
|
---|
| 403 | </varlistentry>
|
---|
| 404 |
|
---|
| 405 | <varlistentry id="systemd-ask-password">
|
---|
| 406 | <term><command>systemd-ask-password</command></term>
|
---|
| 407 | <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>
|
---|
| 410 | <indexterm zone="ch-system-systemd systemd-ask-password">
|
---|
| 411 | <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
|
---|
| 412 | </indexterm>
|
---|
| 413 | </listitem>
|
---|
| 414 | </varlistentry>
|
---|
| 415 |
|
---|
| 416 | <varlistentry id="systemd-cat">
|
---|
| 417 | <term><command>systemd-cat</command></term>
|
---|
| 418 | <listitem>
|
---|
| 419 | <para>used to connect STDOUT and STDERR of a process with the Journal.
|
---|
| 420 | </para>
|
---|
| 421 | <indexterm zone="ch-system-systemd systemd-cat">
|
---|
| 422 | <primary sortas="b-systemd-cat">systemd-cat</primary>
|
---|
| 423 | </indexterm>
|
---|
| 424 | </listitem>
|
---|
| 425 | </varlistentry>
|
---|
| 426 |
|
---|
| 427 | <varlistentry id="systemd-cgls">
|
---|
| 428 | <term><command>systemd-cgls</command></term>
|
---|
| 429 | <listitem>
|
---|
| 430 | <para>recursively shows the contents of the selected Linux control group
|
---|
| 431 | hierarchy in a tree.</para>
|
---|
| 432 | <indexterm zone="ch-system-systemd systemd-cgls">
|
---|
| 433 | <primary sortas="b-systemd-cgls">systemd-cgls</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
| 437 |
|
---|
| 438 | <varlistentry id="systemd-cgtop">
|
---|
| 439 | <term><command>systemd-cgtop</command></term>
|
---|
| 440 | <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>
|
---|
| 443 | <indexterm zone="ch-system-systemd systemd-cgtop">
|
---|
| 444 | <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
|
---|
| 445 | </indexterm>
|
---|
| 446 | </listitem>
|
---|
| 447 | </varlistentry>
|
---|
| 448 |
|
---|
| 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 |
|
---|
| 459 | <varlistentry id="systemd-delta">
|
---|
| 460 | <term><command>systemd-delta</command></term>
|
---|
| 461 | <listitem>
|
---|
| 462 | <para>used to identify and compare configuration files in
|
---|
| 463 | <filename class="directory">/etc</filename> that override default
|
---|
| 464 | counterparts in <filename class="directory">/usr</filename>.</para>
|
---|
| 465 | <indexterm zone="ch-system-systemd systemd-delta">
|
---|
| 466 | <primary sortas="b-systemd-delta">systemd-delta</primary>
|
---|
| 467 | </indexterm>
|
---|
| 468 | </listitem>
|
---|
| 469 | </varlistentry>
|
---|
| 470 |
|
---|
| 471 | <varlistentry id="systemd-detect-virt">
|
---|
| 472 | <term><command>systemd-detect-virt</command></term>
|
---|
| 473 | <listitem>
|
---|
| 474 | <para>detects execution in a virtualized environment.</para>
|
---|
| 475 | <indexterm zone="ch-system-systemd systemd-detect-virt">
|
---|
| 476 | <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
|
---|
| 477 | </indexterm>
|
---|
| 478 | </listitem>
|
---|
| 479 | </varlistentry>
|
---|
| 480 |
|
---|
| 481 | <varlistentry id="systemd-inhibit">
|
---|
| 482 | <term><command>systemd-inhibit</command></term>
|
---|
| 483 | <listitem>
|
---|
| 484 | <para>used to execute a program with a shutdown, sleep or idle inhibitor lock
|
---|
| 485 | taken.</para>
|
---|
| 486 | <indexterm zone="ch-system-systemd systemd-inhibit">
|
---|
| 487 | <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
|
---|
| 488 | </indexterm>
|
---|
| 489 | </listitem>
|
---|
| 490 | </varlistentry>
|
---|
| 491 |
|
---|
| 492 | <varlistentry id="systemd-machine-id-setup">
|
---|
| 493 | <term><command>systemd-machine-id-setup</command></term>
|
---|
| 494 | <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>
|
---|
| 498 | <indexterm zone="ch-system-systemd systemd-machine-id-setup">
|
---|
| 499 | <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
|
---|
| 500 | </indexterm>
|
---|
| 501 | </listitem>
|
---|
| 502 | </varlistentry>
|
---|
| 503 |
|
---|
| 504 | <varlistentry id="systemd-notify">
|
---|
| 505 | <term><command>systemd-notify</command></term>
|
---|
| 506 | <listitem>
|
---|
| 507 | <para>used by daemon scripts to notify the init system about status changes.
|
---|
| 508 | </para>
|
---|
| 509 | <indexterm zone="ch-system-systemd systemd-notify">
|
---|
| 510 | <primary sortas="b-systemd-notify">systemd-notify</primary>
|
---|
| 511 | </indexterm>
|
---|
| 512 | </listitem>
|
---|
| 513 | </varlistentry>
|
---|
| 514 |
|
---|
| 515 | <varlistentry id="systemd-nspawn">
|
---|
| 516 | <term><command>systemd-nspawn</command></term>
|
---|
| 517 | <listitem>
|
---|
| 518 | <para>used to run a command or OS in a light-weight namespace container.</para>
|
---|
| 519 | <indexterm zone="ch-system-systemd systemd-nspawn">
|
---|
| 520 | <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
|
---|
| 521 | </indexterm>
|
---|
| 522 | </listitem>
|
---|
| 523 | </varlistentry>
|
---|
| 524 |
|
---|
| 525 | <varlistentry id="systemd-run">
|
---|
| 526 | <term><command>systemd-run</command></term>
|
---|
| 527 | <listitem>
|
---|
| 528 | <para>used to create and start a transient .service or a .scope unit and
|
---|
| 529 | run the specified command in it.</para>
|
---|
| 530 | <indexterm zone="ch-system-systemd systemd-run">
|
---|
| 531 | <primary sortas="b-systemd-run">systemd-run</primary>
|
---|
| 532 | </indexterm>
|
---|
| 533 | </listitem>
|
---|
| 534 | </varlistentry>
|
---|
| 535 |
|
---|
| 536 | <!-- <varlistentry id="systemd-stdio-bridge">
|
---|
| 537 | <term><command>systemd-stdio-bridge</command></term>
|
---|
| 538 | <listitem>
|
---|
| 539 | <para>To be completed</para>
|
---|
| 540 | <indexterm zone="ch-system-systemd systemd-stdio-bridge">
|
---|
| 541 | <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>
|
---|
| 542 | </indexterm>
|
---|
| 543 | </listitem>
|
---|
| 544 | </varlistentry> -->
|
---|
| 545 |
|
---|
| 546 | <varlistentry id="systemd-tmpfiles">
|
---|
| 547 | <term><command>systemd-tmpfiles</command></term>
|
---|
| 548 | <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>
|
---|
| 552 | <indexterm zone="ch-system-systemd systemd-tmpfiles">
|
---|
| 553 | <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
|
---|
| 554 | </indexterm>
|
---|
| 555 | </listitem>
|
---|
| 556 | </varlistentry>
|
---|
| 557 |
|
---|
| 558 | <varlistentry id="systemd-tty-ask-password-agent">
|
---|
| 559 | <term><command>systemd-tty-ask-password-agent</command></term>
|
---|
| 560 | <listitem>
|
---|
| 561 | <para>used to list or process pending Systemd password requests</para>
|
---|
| 562 | <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
|
---|
| 563 | <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
|
---|
| 564 | </indexterm>
|
---|
| 565 | </listitem>
|
---|
| 566 | </varlistentry>
|
---|
| 567 |
|
---|
| 568 | <varlistentry id="telinit">
|
---|
| 569 | <term><command>telinit</command></term>
|
---|
| 570 | <listitem>
|
---|
| 571 | <para>Tells <command>init</command> which run-level to change to.</para>
|
---|
| 572 | <indexterm zone="ch-system-systemd telinit">
|
---|
| 573 | <primary sortas="b-telinit">telinit</primary>
|
---|
| 574 | </indexterm>
|
---|
| 575 | </listitem>
|
---|
| 576 | </varlistentry>
|
---|
| 577 |
|
---|
| 578 | <varlistentry id="timedatectl">
|
---|
| 579 | <term><command>timedatectl</command></term>
|
---|
| 580 | <listitem>
|
---|
| 581 | <para>used to query and change the system clock and its settings.
|
---|
| 582 | </para>
|
---|
| 583 | <indexterm zone="ch-system-systemd timedatectl">
|
---|
| 584 | <primary sortas="b-timedatectl">timedatectl</primary>
|
---|
[f896e21c] | 585 | </indexterm>
|
---|
| 586 | </listitem>
|
---|
| 587 | </varlistentry>
|
---|
| 588 |
|
---|
| 589 | <varlistentry id="udevadm">
|
---|
| 590 | <term><command>udevadm</command></term>
|
---|
| 591 | <listitem>
|
---|
[cba2d4e] | 592 | <para>Generic Udev administration tool: controls the udevd daemon,
|
---|
[f896e21c] | 593 | provides info from the Udev database, monitors uevents, waits for
|
---|
| 594 | uevents to finish, tests Udev configuration, and triggers uevents
|
---|
[cba2d4e] | 595 | for a given device.</para>
|
---|
| 596 | <indexterm zone="ch-system-systemd udevadm">
|
---|
[f896e21c] | 597 | <primary sortas="b-udevadm">udevadm</primary>
|
---|
| 598 | </indexterm>
|
---|
| 599 | </listitem>
|
---|
| 600 | </varlistentry>
|
---|
| 601 |
|
---|
[cba2d4e] | 602 | <varlistentry id="libsystemd">
|
---|
| 603 | <term><filename class="libraryfile">libsystemd</filename></term>
|
---|
[f896e21c] | 604 | <listitem>
|
---|
[cba2d4e] | 605 | <para>Systemd utility library.</para>
|
---|
| 606 | <indexterm zone="ch-system-systemd libsystemd">
|
---|
| 607 | <primary sortas="c-libsystemd">libsystemd</primary>
|
---|
[f896e21c] | 608 | </indexterm>
|
---|
| 609 | </listitem>
|
---|
| 610 | </varlistentry>
|
---|
| 611 |
|
---|
| 612 | <varlistentry id="libudev">
|
---|
| 613 | <term><filename class="libraryfile">libudev</filename></term>
|
---|
| 614 | <listitem>
|
---|
[cba2d4e] | 615 | <para>A library to access Udev device information.</para>
|
---|
| 616 | <indexterm zone="ch-system-systemd libudev">
|
---|
[f896e21c] | 617 | <primary sortas="c-libudev">libudev</primary>
|
---|
| 618 | </indexterm>
|
---|
| 619 | </listitem>
|
---|
| 620 | </varlistentry>
|
---|
| 621 |
|
---|
| 622 | </variablelist>
|
---|
| 623 |
|
---|
| 624 | </sect2>
|
---|
| 625 |
|
---|
| 626 | </sect1>
|
---|