source: chapter08/systemd.xml@ 5818041

12.2-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch
Last change on this file since 5818041 was 5818041, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Package updates.
Update to vim-9.1.0478.
Update to iana-etc-20240607.
Update to systemd-256.
Update to python3-3.12.4.
Update to perl-5.40.0.
Update to openssl-3.3.1 (Security fix).
Update to linux-6.9.4.
Update to findutils-4.10.0.

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