source: chapter08/systemd.xml@ d23bc9dd

xry111/mips64el
Last change on this file since d23bc9dd was fe99d50, checked in by Xi Ruoyao <xry111@…>, 7 months ago

systemd: Fix a bug breaking systemd-verify an instantiated unit

It's breaking Git test suite (and maybe other things).

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