source: chapter08/systemd.xml@ 7152faa

12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 7152faa was 7152faa, checked in by Pierre Labastie <pierre.labastie@…>, 5 months ago

Change all xml files to utf-8 encoding

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