source: chapter08/systemd.xml@ 0d78c2c

11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 0d78c2c was 0d78c2c, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Package updates.
Update to iana-etc-20211112.
Update to elfutils-0.186.
Update to jinja2-3.0.3.
Update to bc-5.2.0.
Update to ncurses-6.3.
Update to libpipeline-1.5.4.
Update to meson-0.60.1.
Update to iproute2-5.15.0.
Update to linux-5.15.2.

One change was needed to systemd-249 due to changes in the linux
keernel version 5.14 and later.

A change to ncurses was needed to ensure the .pc files are placed in
the right location (/usr/lib/pkgconfig).

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