source: chapter08/systemd.xml@ 0d4f1b4

xry111/arm64 xry111/arm64-12.0
Last change on this file since 0d4f1b4 was 59d90df, checked in by Xi Ruoyao <xry111@…>, 20 months ago

systemd: remove an extra word "both"

It seems introduced unintentionally. I'm wondering what has happened
with David's text editor :).

  • Property mode set to 100644
File size: 31.2 KB
RevLine 
[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
[35a5259]8<sect1 id="ch-system-systemd" role="wrap" revision="systemd">
[cba2d4e]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">
[1118b17]20 <primary sortas="a-systemd">systemd</primary>
[f896e21c]21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
[1118b17]26 <para>The systemd package contains programs for controlling the startup,
[cba2d4e]27 running, and shutdown of the system.</para>
[f896e21c]28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
[fb386e0]34 <seg>&systemd-fin-sbu;</seg>
35 <seg>&systemd-fin-du;</seg>
[f896e21c]36 </seglistitem>
37 </segmentedlist>
38 </sect2>
39
40 <sect2 role="installation">
[1118b17]41 <title>Installation of systemd</title>
[70dcd88]42
[e193e357]43
44 <para>First, fix a security issue in systemd-coredump:</para>
[1b11115]45
46<screen><userinput remap="pre">patch -Np1 -i ../&systemd-upstream-patch;</userinput></screen>
[e193e357]47
[1b11115]48
[87119fd]49 <para>Remove two unneeded groups,
50 <systemitem class="groupname">render</systemitem> and
51 <systemitem class="groupname">sgx</systemitem>, from the default udev
[896e77e]52 rules:</para>
53
[1f201845]54 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
[96fa6f2]55 -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
[896e77e]56
[1118b17]57 <para>Prepare systemd for compilation:</para>
58
[c556e59]59<screen><userinput remap="configure">mkdir -p build
[04b2165]60cd build
[fc199db]61
[0f703541]62meson --prefix=/usr \
[c349b4a]63 --buildtype=release \
[0f703541]64 -Ddefault-dnssec=no \
65 -Dfirstboot=false \
66 -Dinstall-tests=false \
67 -Dldconfig=false \
68 -Dsysusers=false \
69 -Drpmmacrosdir=no \
70 -Dhomed=false \
71 -Duserdb=false \
[35e0479]72 -Dman=false \
[22009fb]73 -Dmode=release \
[77e340bc]74 -Dpamconfdir=no \
[1446892]75 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
[fc199db]76 ..</userinput></screen>
[cba2d4e]77
78 <variablelist>
[81ed05f]79 <title>The meaning of the meson options:</title>
[cba2d4e]80
[06cdaed]81 <varlistentry>
82 <term><parameter>--buildtype=release</parameter></term>
83 <listitem>
84 <para>This switch overrides the default buildtype
[69854d2a]85 (<quote>debug</quote>), which produces unoptimized
[06cdaed]86 binaries.</para>
87 </listitem>
88 </varlistentry>
89
[cba2d4e]90 <varlistentry>
[81ed05f]91 <term><parameter>-Ddefault-dnssec=no</parameter></term>
[cba2d4e]92 <listitem>
[81ed05f]93 <para>This switch turns off the experimental DNSSEC support.</para>
[cba2d4e]94 </listitem>
95 </varlistentry>
96
97 <varlistentry>
[81ed05f]98 <term><parameter>-Dfirstboot=false</parameter></term>
[cba2d4e]99 <listitem>
[81ed05f]100 <para>This switch prevents installation of systemd
101 services responsible for setting up the system for
[69854d2a]102 the first time. These are not useful in LFS, because
[81ed05f]103 everything is done manually.</para>
[cba2d4e]104 </listitem>
105 </varlistentry>
106
[e88a471b]107 <varlistentry>
108 <term><parameter>-Dinstall-tests=false</parameter></term>
109 <listitem>
110 <para>This switch prevents installation of the compiled tests.</para>
111 </listitem>
112 </varlistentry>
113
[cba2d4e]114 <varlistentry>
[0d84af1]115 <term><parameter>-Dldconfig=false</parameter></term>
[cba2d4e]116 <listitem>
[0d84af1]117 <para>This switch prevents installation of a systemd unit that runs
[69854d2a]118 <command>ldconfig</command> at boot; this is not useful for source
119 distributions such as LFS, and makes the boot time longer. Remove
120 this option to enable running <command>ldconfig</command> at boot.</para>
[cba2d4e]121 </listitem>
122 </varlistentry>
123
[1118b17]124 <varlistentry>
[81ed05f]125 <term><parameter>-Dsysusers=false</parameter></term>
[1118b17]126 <listitem>
127 <para>This switch prevents installation of systemd
128 services responsible for setting up the
129 <filename>/etc/group</filename> and
130 <filename>/etc/passwd</filename> files. Both files
[f09dd59]131 were created in the previous chapter. This daemon is not useful
[0a75d62]132 on an LFS system since user accounts are manually created.</para>
[cba2d4e]133 </listitem>
134 </varlistentry>
135
[c556e59]136 <varlistentry>
137 <term><parameter>-Drpmmacrosdir=no</parameter></term>
138 <listitem>
139 <para>This switch disables installation of RPM Macros
[69854d2a]140 for use with systemd, because LFS does not support RPM.</para>
[c556e59]141 </listitem>
142 </varlistentry>
[c06f49a]143
144 <varlistentry>
145 <term><parameter>-D{userdb,homed}=false</parameter></term>
146 <listitem>
[69854d2a]147 <para>Remove two daemons with dependencies that do not fit
148 within the scope of LFS.</para>
[c06f49a]149 </listitem>
150 </varlistentry>
151
[35e0479]152 <varlistentry>
153 <term><parameter>-Dman=false</parameter></term>
154 <listitem>
155 <para>Prevent the generation of man pages to avoid extra
156 dependencies. We will install pre-generated man pages for systemd
[69854d2a]157 from a tarball.</para>
[35e0479]158 </listitem>
159 </varlistentry>
160
[fe42b2f]161 <varlistentry>
162 <term><parameter>-Dmode=release</parameter></term>
163 <listitem>
164 <para>Disable some features considered experimental by upstream.
165 </para>
166 </listitem>
167 </varlistentry>
168
[77e340bc]169 <varlistentry>
170 <term><parameter>-Dpamconfdir=no</parameter></term>
171 <listitem>
172 <para>Prevent the installation of a PAM configuration file not
173 functional on LFS.</para>
174 </listitem>
175 </varlistentry>
[cba2d4e]176 </variablelist>
177
178 <para>Compile the package:</para>
179
[69c4524]180<screen><userinput remap="make">ninja</userinput></screen>
[f896e21c]181
182 <para>Install the package:</para>
183
[69c4524]184<screen><userinput remap="install">ninja install</userinput></screen>
[cba2d4e]185
[35e0479]186 <para>Install the man pages:</para>
[c556e59]187
[b4008bb]188 <!-- Please make sure systemd man pages tarball has a common leading
189 component in the path. -->
190<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
[c556e59]191
[cba2d4e]192 <para>Create the <filename>/etc/machine-id</filename> file needed by
[1118b17]193 <command>systemd-journald</command>:</para>
[053b206]194
[15f0f21]195<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
[cba2d4e]196
[69854d2a]197 <para>Set up the basic target structure:</para>
[8a0d39ee]198
199<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
[777b5cb]200
[5156c400]201 <para>Disable two services for upgrading binary distros. They are useless for
[69854d2a]202 a basic Linux system built from source, and each one will report an error if
[f99a7eb]203 it's enabled but not configured:</para>
204
[5156c400]205<screen><userinput remap="adjust">systemctl disable systemd-sysupdate{,-reboot}</userinput></screen>
[172185a9]206
[a815ec7]207<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
208 If it causes any trouble, we can add this back and also copy it into BLFS -->
209<!--
[777b5cb]210 <para>Prevent systemd from resetting the maximum PID value which causes
211 some problems with packages and units in BLFS:</para>
[d672ab7]212
[c06f49a]213<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
[a815ec7]214-->
[777b5cb]215
[f896e21c]216 </sect2>
217
[cba2d4e]218 <sect2 id="contents-systemd" role="content">
[1118b17]219 <title>Contents of systemd</title>
[f896e21c]220
221 <segmentedlist>
222 <segtitle>Installed programs</segtitle>
223 <segtitle>Installed libraries</segtitle>
224 <segtitle>Installed directories</segtitle>
225
226 <seglistitem>
[662f649]227 <seg>busctl, coredumpctl, halt (symlink to systemctl),
[78cc3be]228 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
[d7a9421]229 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
[78cc3be]230 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
231 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
232 (symlink to systemctl), systemctl, systemd-analyze,
[1118b17]233 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
[662f649]234 systemd-creds, systemd-delta, systemd-detect-virt,
[d7a9421]235 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
236 systemd-inhibit, systemd-machine-id-setup,
[78cc3be]237 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
[c06f49a]238 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
[d7a9421]239 systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
240 systemd-tmpfiles, systemd-tty-ask-password-agent,
241 systemd-umount (symlink to systemd-mount),
242 telinit (symlink to systemctl), timedatectl, and udevadm</seg>
[1118b17]243 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
[78cc3be]244 libnss_resolve.so.2, libnss_systemd.so.2,
[d7a9421]245 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
[a840e59]246 and libudev.so</seg>
[59d90df]247 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
[cba2d4e]248 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
[d7a9421]249 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
[d672ab7]250 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
251 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
[2ca70d33]252 /usr/lib/tmpfiles.d,
[1118b17]253 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
254 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
[f896e21c]255 </seglistitem>
256 </segmentedlist>
257
258 <variablelist>
259 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
260 <?dbfo list-presentation="list"?>
261 <?dbhtml list-presentation="table"?>
262
[cba2d4e]263 <varlistentry id="busctl">
264 <term><command>busctl</command></term>
265 <listitem>
[9e7475a]266 <para>Is used to introspect and monitor the D-Bus bus</para>
[cba2d4e]267 <indexterm zone="ch-system-systemd busctl">
268 <primary sortas="b-busctl">busctl</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
[1118b17]273 <varlistentry id="coredumpctl">
274 <term><command>coredumpctl</command></term>
275 <listitem>
[9e7475a]276 <para>Is used to retrieve coredumps from the systemd journal</para>
[1118b17]277 <indexterm zone="ch-system-systemd coredumpctl">
278 <primary sortas="b-coredumpctl">coredumpctl</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
[cba2d4e]283 <varlistentry id="halt">
284 <term><command>halt</command></term>
285 <listitem>
286 <para>Normally invokes <command>shutdown</command> with the
287 <parameter>-h</parameter> option, except when already in run-level 0,
[69854d2a]288 when it tells the kernel to halt the system; it notes in the
[cba2d4e]289 file <filename>/var/log/wtmp</filename> that the system is being
[1118b17]290 brought down</para>
[cba2d4e]291 <indexterm zone="ch-system-systemd halt">
292 <primary sortas="b-halt">halt</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="hostnamectl">
298 <term><command>hostnamectl</command></term>
299 <listitem>
[9e7475a]300 <para>Is used to query and change the system hostname and related
[1118b17]301 settings</para>
[cba2d4e]302 <indexterm zone="ch-system-systemd hostnamectl">
303 <primary sortas="b-hostnamectl">hostnamectl</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="init">
309 <term><command>init</command></term>
310 <listitem>
[69854d2a]311 <para>Is the first process to be started after the kernel has initialized
312 the hardware; <command>init</command> takes over the boot process and starts the
313 processes specified by its configuration files; in this case, it starts
[8d35535]314 systemd</para>
[cba2d4e]315 <indexterm zone="ch-system-systemd init">
316 <primary sortas="b-init">init</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="journalctl">
322 <term><command>journalctl</command></term>
323 <listitem>
[9e7475a]324 <para>Is used to query the contents of the systemd journal</para>
[cba2d4e]325 <indexterm zone="ch-system-systemd journalctl">
326 <primary sortas="b-journalctl">journalctl</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="kernel-install">
332 <term><command>kernel-install</command></term>
333 <listitem>
[9e7475a]334 <para>Is used to add and remove kernel and initramfs images to and
[69854d2a]335 from /boot; in LFS, this is done manually</para>
[cba2d4e]336 <indexterm zone="ch-system-systemd kernel-install">
337 <primary sortas="b-kernel-install">kernel-install</primary>
338 </indexterm>
339 </listitem>
340 </varlistentry>
341
342 <varlistentry id="localectl">
343 <term><command>localectl</command></term>
344 <listitem>
[9e7475a]345 <para>Is used to query and change the system locale and keyboard layout
[1118b17]346 settings</para>
[cba2d4e]347 <indexterm zone="ch-system-systemd localectl">
348 <primary sortas="b-localectl">localectl</primary>
349 </indexterm>
350 </listitem>
351 </varlistentry>
352
353 <varlistentry id="loginctl">
354 <term><command>loginctl</command></term>
355 <listitem>
[9e7475a]356 <para>Is used to introspect and control the state of the systemd Login
[1118b17]357 Manager</para>
[cba2d4e]358 <indexterm zone="ch-system-systemd loginctl">
359 <primary sortas="b-loginctl">loginctl</primary>
360 </indexterm>
361 </listitem>
362 </varlistentry>
363
364 <varlistentry id="machinectl">
365 <term><command>machinectl</command></term>
366 <listitem>
[9e7475a]367 <para>Is used to introspect and control the state of the systemd Virtual
[cba2d4e]368 Machine and Container Registration Manager</para>
369 <indexterm zone="ch-system-systemd machinectl">
370 <primary sortas="b-machinectl">machinectl</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
[1118b17]375 <varlistentry id="networkctl">
376 <term><command>networkctl</command></term>
377 <listitem>
[d672ab7]378 <para>Is used to introspect and configure the state of the network
[9e7475a]379 links configured by systemd-networkd</para>
[1118b17]380 <indexterm zone="ch-system-systemd networkctl">
381 <primary sortas="b-networkctl">networkctl</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
[d7a9421]386 <varlistentry id="oomctl">
387 <term><command>oomctl</command></term>
388 <listitem>
389 <para>Controls the systemd Out Of Memory daemon</para>
390 <indexterm zone="ch-system-systemd oomctl">
391 <primary sortas="b-oomctl">oomctl</primary>
392 </indexterm>
393 </listitem>
394 </varlistentry>
395
[78cc3be]396 <varlistentry id="portablectl">
397 <term><command>portablectl</command></term>
398 <listitem>
[9e7475a]399 <para>Is used to attach or detach portable services from the local
[78cc3be]400 system</para>
401 <indexterm zone="ch-system-systemd portablectl">
402 <primary sortas="b-portablectl">portablectl</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
[cba2d4e]407 <varlistentry id="poweroff">
408 <term><command>poweroff</command></term>
409 <listitem>
[9e7475a]410 <para>Instructs the kernel to halt the system and switch off the computer
[1118b17]411 (see <command>halt</command>)</para>
[cba2d4e]412 <indexterm zone="ch-system-systemd poweroff">
413 <primary sortas="b-poweroff">poweroff</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="reboot">
419 <term><command>reboot</command></term>
[f896e21c]420 <listitem>
[9e7475a]421 <para>Instructs the kernel to reboot the system (see
[1118b17]422 <command>halt</command>)</para>
[cba2d4e]423 <indexterm zone="ch-system-systemd reboot">
424 <primary sortas="b-reboot">reboot</primary>
[f896e21c]425 </indexterm>
426 </listitem>
427 </varlistentry>
428
[78cc3be]429 <varlistentry id="resolvconf">
430 <term><command>resolvconf</command></term>
431 <listitem>
[9e7475a]432 <para>Registers DNS server and domain configuration with
[93058448]433 <command>systemd-resolved</command></para>
[78cc3be]434 <indexterm zone="ch-system-systemd resolvconf">
435 <primary sortas="b-resolvconf">resolvconf</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="resolvectl">
441 <term><command>resolvectl</command></term>
442 <listitem>
[9e7475a]443 <para>Sends control commands to the network name resolution
444 manager, or resolves domain names, IPv4 and IPv6 addresses,
[8d35535]445 DNS records, and services</para>
[78cc3be]446 <indexterm zone="ch-system-systemd resolvectl">
447 <primary sortas="b-resolvectl">resolvectl</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
451
[cba2d4e]452 <varlistentry id="runlevel">
453 <term><command>runlevel</command></term>
[f896e21c]454 <listitem>
[9e7475a]455 <para>Outputs the previous and the current run-level, as noted in the
[02776dff]456 last run-level record in <filename>/run/utmp</filename></para>
[cba2d4e]457 <indexterm zone="ch-system-systemd runlevel">
458 <primary sortas="b-runlevel">runlevel</primary>
[f896e21c]459 </indexterm>
460 </listitem>
461 </varlistentry>
462
[cba2d4e]463 <varlistentry id="shutdown">
464 <term><command>shutdown</command></term>
[f896e21c]465 <listitem>
[d672ab7]466 <para>Brings the system down in a safe and secure manner, signaling
[9e7475a]467 all processes and notifying all logged-in users</para>
[cba2d4e]468 <indexterm zone="ch-system-systemd shutdown">
469 <primary sortas="b-shutdown">shutdown</primary>
[f896e21c]470 </indexterm>
471 </listitem>
472 </varlistentry>
473
[cba2d4e]474 <varlistentry id="systemctl">
475 <term><command>systemctl</command></term>
[f896e21c]476 <listitem>
[9e7475a]477 <para>Is used to introspect and control the state of the systemd system
[1118b17]478 and service manager</para>
[cba2d4e]479 <indexterm zone="ch-system-systemd systemctl">
480 <primary sortas="b-systemctl">systemctl</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="systemd-analyze">
486 <term><command>systemd-analyze</command></term>
487 <listitem>
[69854d2a]488 <para>Is used to analyze system startup performance,
489 as well as identify troublesome systemd units</para>
[cba2d4e]490 <indexterm zone="ch-system-systemd systemd-analyze">
491 <primary sortas="b-systemd-analyze">systemd-analyze</primary>
492 </indexterm>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry id="systemd-ask-password">
497 <term><command>systemd-ask-password</command></term>
498 <listitem>
[9e7475a]499 <para>Is used to query a system password or passphrase from the user,
[69854d2a]500 using a message specified on the Linux command line</para>
[cba2d4e]501 <indexterm zone="ch-system-systemd systemd-ask-password">
502 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="systemd-cat">
508 <term><command>systemd-cat</command></term>
509 <listitem>
[9e7475a]510 <para>Is used to connect the STDOUT and STDERR outputs of a process
[8d35535]511 with the systemd journal
[cba2d4e]512 </para>
513 <indexterm zone="ch-system-systemd systemd-cat">
514 <primary sortas="b-systemd-cat">systemd-cat</primary>
515 </indexterm>
516 </listitem>
517 </varlistentry>
518
519 <varlistentry id="systemd-cgls">
520 <term><command>systemd-cgls</command></term>
521 <listitem>
[1118b17]522 <para>Recursively shows the contents of the selected Linux control
523 group hierarchy in a tree</para>
[cba2d4e]524 <indexterm zone="ch-system-systemd systemd-cgls">
525 <primary sortas="b-systemd-cgls">systemd-cgls</primary>
526 </indexterm>
527 </listitem>
528 </varlistentry>
529
530 <varlistentry id="systemd-cgtop">
531 <term><command>systemd-cgtop</command></term>
532 <listitem>
[1118b17]533 <para>Shows the top control groups of the local Linux control group
[69854d2a]534 hierarchy, ordered by their CPU, memory and disk I/O loads</para>
[cba2d4e]535 <indexterm zone="ch-system-systemd systemd-cgtop">
536 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
[662f649]541 <varlistentry id="systemd-creds">
542 <term><command>systemd-creds</command></term>
[d7a9421]543 <listitem>
[9f0a642]544 <para>Displays and processes credentials</para>
[662f649]545 <indexterm zone="ch-system-systemd systemd-creds">
546 <primary sortas="b-systemd-creds">systemd-creds</primary>
[d7a9421]547 </indexterm>
548 </listitem>
549 </varlistentry>
550
[cba2d4e]551 <varlistentry id="systemd-delta">
552 <term><command>systemd-delta</command></term>
553 <listitem>
[9e7475a]554 <para>Is used to identify and compare configuration files in
[69854d2a]555 <filename class="directory">/etc</filename> that override the defaults
556 in <filename class="directory">/usr</filename></para>
[cba2d4e]557 <indexterm zone="ch-system-systemd systemd-delta">
558 <primary sortas="b-systemd-delta">systemd-delta</primary>
559 </indexterm>
560 </listitem>
561 </varlistentry>
562
563 <varlistentry id="systemd-detect-virt">
564 <term><command>systemd-detect-virt</command></term>
565 <listitem>
[9e7475a]566 <para>Detects whether the system is being run in a virtual
[8d35535]567 environment, and adjusts udev accordingly</para>
[cba2d4e]568 <indexterm zone="ch-system-systemd systemd-detect-virt">
569 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
[22009fb]574 <varlistentry id="systemd-dissect">
575 <term><command>systemd-dissect</command></term>
576 <listitem>
[8d35535]577 <para>Is used to inspect OS disk images</para>
[22009fb]578 <indexterm zone="ch-system-systemd systemd-dissect">
579 <primary sortas="b-systemd-dissect">systemd-dissect</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
[1118b17]584 <varlistentry id="systemd-escape">
585 <term><command>systemd-escape</command></term>
586 <listitem>
[9e7475a]587 <para>Is used to escape strings for inclusion in systemd unit
[1118b17]588 names</para>
589 <indexterm zone="ch-system-systemd systemd-escape">
590 <primary sortas="b-systemd-escape">systemd-escape</primary>
591 </indexterm>
592 </listitem>
593 </varlistentry>
594
595 <varlistentry id="systemd-hwdb">
596 <term><command>systemd-hwdb</command></term>
597 <listitem>
[9e7475a]598 <para>Is used to manage the hardware database (hwdb)</para>
[1118b17]599 <indexterm zone="ch-system-systemd systemd-hwdb">
600 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
601 </indexterm>
602 </listitem>
603 </varlistentry>
604
[78cc3be]605 <varlistentry id="systemd-id128">
606 <term><command>systemd-id128</command></term>
607 <listitem>
[69854d2a]608 <para>Generates and prints id128 (UUID) strings</para>
[78cc3be]609 <indexterm zone="ch-system-systemd systemd-id128">
610 <primary sortas="b-systemd-id128">systemd-id128</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
[cba2d4e]615 <varlistentry id="systemd-inhibit">
616 <term><command>systemd-inhibit</command></term>
617 <listitem>
[9e7475a]618 <para>Is used to execute a program with a shutdown, sleep or idle
619 inhibitor lock taken, preventing an action such as a system shutdown
[8d35535]620 until the process is completed</para>
[cba2d4e]621 <indexterm zone="ch-system-systemd systemd-inhibit">
622 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
623 </indexterm>
624 </listitem>
625 </varlistentry>
626
627 <varlistentry id="systemd-machine-id-setup">
628 <term><command>systemd-machine-id-setup</command></term>
629 <listitem>
[9e7475a]630 <para>Is used by system installer tools to initialize the machine ID
[1118b17]631 stored in <filename>/etc/machine-id</filename> at install time with a
632 randomly generated ID</para>
[cba2d4e]633 <indexterm zone="ch-system-systemd systemd-machine-id-setup">
634 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
635 </indexterm>
636 </listitem>
637 </varlistentry>
638
[13c8b42]639 <varlistentry id="systemd-mount">
640 <term><command>systemd-mount</command></term>
641 <listitem>
[8d35535]642 <para>Is used to temporarily mount or automount disks</para>
[13c8b42]643 <indexterm zone="ch-system-systemd systemd-mount">
644 <primary sortas="b-systemd-mount">systemd-mount</primary>
645 </indexterm>
646 </listitem>
647 </varlistentry>
648
[cba2d4e]649 <varlistentry id="systemd-notify">
650 <term><command>systemd-notify</command></term>
651 <listitem>
[69854d2a]652 <para>Is used by daemon scripts to notify the init system of status
[1118b17]653 changes</para>
[cba2d4e]654 <indexterm zone="ch-system-systemd systemd-notify">
655 <primary sortas="b-systemd-notify">systemd-notify</primary>
656 </indexterm>
657 </listitem>
658 </varlistentry>
659
660 <varlistentry id="systemd-nspawn">
661 <term><command>systemd-nspawn</command></term>
662 <listitem>
[69854d2a]663 <para>Is used to run a command, or an entire OS, in a light-weight namespace
[1118b17]664 container</para>
[cba2d4e]665 <indexterm zone="ch-system-systemd systemd-nspawn">
666 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
667 </indexterm>
668 </listitem>
669 </varlistentry>
670
[1118b17]671 <varlistentry id="systemd-path">
672 <term><command>systemd-path</command></term>
673 <listitem>
[9e7475a]674 <para>Is used to query system and user paths</para>
[1118b17]675 <indexterm zone="ch-system-systemd systemd-path">
676 <primary sortas="b-systemd-path">systemd-path</primary>
677 </indexterm>
678 </listitem>
679 </varlistentry>
680
[c06f49a]681 <varlistentry id="systemd-repart">
682 <term><command>systemd-repart</command></term>
683 <listitem>
[9e7475a]684 <para>Is used to grow and add partitions to a partition table when
[69854d2a]685 systemd is used with an OS image (e.g. a container)</para>
[c06f49a]686 <indexterm zone="ch-system-systemd systemd-repart">
687 <primary sortas="b-systemd-repart">systemd-repart</primary>
688 </indexterm>
689 </listitem>
690 </varlistentry>
691
[1118b17]692 <varlistentry id="systemd-resolve">
693 <term><command>systemd-resolve</command></term>
694 <listitem>
[9e7475a]695 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
[1118b17]696 resource records, and services</para>
697 <indexterm zone="ch-system-systemd systemd-resolve">
698 <primary sortas="b-systemd-resolve">systemd-resolve</primary>
699 </indexterm>
700 </listitem>
701 </varlistentry>
702
[cba2d4e]703 <varlistentry id="systemd-run">
704 <term><command>systemd-run</command></term>
705 <listitem>
[9e7475a]706 <para>Is used to create and start a transient .service or a .scope
[69854d2a]707 unit and run the specified command in it; this is useful for
[8d35535]708 validating systemd units</para>
[cba2d4e]709 <indexterm zone="ch-system-systemd systemd-run">
710 <primary sortas="b-systemd-run">systemd-run</primary>
711 </indexterm>
712 </listitem>
713 </varlistentry>
714
[13c8b42]715 <varlistentry id="systemd-socket-activate">
716 <term><command>systemd-socket-activate</command></term>
717 <listitem>
[9e7475a]718 <para>Is used to listen on socket devices and launch a process upon
[8d35535]719 a successful connection to the socket</para>
[13c8b42]720 <indexterm zone="ch-system-systemd systemd-socket-activate">
721 <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
722 </indexterm>
723 </listitem>
724 </varlistentry>
725
[d7a9421]726 <varlistentry id="systemd-sysext">
727 <term><command>systemd-sysext</command></term>
728 <listitem>
[871fd2f]729 <para>Activates system extension images</para>
[d7a9421]730 <indexterm zone="ch-system-systemd systemd-sysext">
731 <primary sortas="b-systemd-sysext">systemd-sysext</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
[cba2d4e]736 <varlistentry id="systemd-tmpfiles">
737 <term><command>systemd-tmpfiles</command></term>
738 <listitem>
[69854d2a]739 <para>Creates, deletes, and cleans up volatile and temporary files and
[1118b17]740 directories, based on the configuration file format and location
741 specified in
742 <filename class="directory">tmpfiles.d</filename> directories</para>
[cba2d4e]743 <indexterm zone="ch-system-systemd systemd-tmpfiles">
744 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
745 </indexterm>
746 </listitem>
747 </varlistentry>
748
[78cc3be]749 <varlistentry id="systemd-umount">
750 <term><command>systemd-umount</command></term>
751 <listitem>
[9e7475a]752 <para>Unmounts mount points</para>
[78cc3be]753 <indexterm zone="ch-system-systemd systemd-umount">
754 <primary sortas="b-systemd-umount">systemd-umount</primary>
755 </indexterm>
756 </listitem>
757 </varlistentry>
758
[cba2d4e]759 <varlistentry id="systemd-tty-ask-password-agent">
760 <term><command>systemd-tty-ask-password-agent</command></term>
761 <listitem>
[d672ab7]762 <para>Is used to list and/or process pending systemd password
[9e7475a]763 requests</para>
[cba2d4e]764 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
765 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
766 </indexterm>
767 </listitem>
768 </varlistentry>
769
770 <varlistentry id="telinit">
771 <term><command>telinit</command></term>
772 <listitem>
[1118b17]773 <para>Tells <command>init</command> which run-level to change
774 to</para>
[cba2d4e]775 <indexterm zone="ch-system-systemd telinit">
776 <primary sortas="b-telinit">telinit</primary>
777 </indexterm>
778 </listitem>
779 </varlistentry>
780
781 <varlistentry id="timedatectl">
782 <term><command>timedatectl</command></term>
783 <listitem>
[9e7475a]784 <para>Is used to query and change the system clock and its settings
[cba2d4e]785 </para>
786 <indexterm zone="ch-system-systemd timedatectl">
787 <primary sortas="b-timedatectl">timedatectl</primary>
[f896e21c]788 </indexterm>
789 </listitem>
790 </varlistentry>
791
792 <varlistentry id="udevadm">
793 <term><command>udevadm</command></term>
794 <listitem>
[d672ab7]795 <para>Is a generic udev administration tool which controls the udevd
[69854d2a]796 daemon, provides info from the udev hardware database, monitors
[d672ab7]797 uevents, waits for uevents to finish, tests udev configuration, and
[9e7475a]798 triggers uevents for a given device</para>
[cba2d4e]799 <indexterm zone="ch-system-systemd udevadm">
[f896e21c]800 <primary sortas="b-udevadm">udevadm</primary>
801 </indexterm>
802 </listitem>
803 </varlistentry>
804
[cba2d4e]805 <varlistentry id="libsystemd">
806 <term><filename class="libraryfile">libsystemd</filename></term>
[f896e21c]807 <listitem>
[9e7475a]808 <para>Is the main systemd utility library</para>
[cba2d4e]809 <indexterm zone="ch-system-systemd libsystemd">
810 <primary sortas="c-libsystemd">libsystemd</primary>
[f896e21c]811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="libudev">
816 <term><filename class="libraryfile">libudev</filename></term>
817 <listitem>
[9e7475a]818 <para>Is a library to access Udev device information</para>
[cba2d4e]819 <indexterm zone="ch-system-systemd libudev">
[f896e21c]820 <primary sortas="c-libudev">libudev</primary>
821 </indexterm>
822 </listitem>
823 </varlistentry>
824
825 </variablelist>
826
827 </sect2>
828
829</sect1>
Note: See TracBrowser for help on using the repository browser.