source: chapter08/systemd.xml@ 69c4524

11.1 11.1-rc1 11.2 11.2-rc1 arm multilib s6-init trunk xry111/arm64 xry111/clfs-ng xry111/lfs-next xry111/pip3 xry111/queue-11.3 xry111/rust-wip-20221008
Last change on this file since 69c4524 was 69c4524, checked in by Xi Ruoyao <xry111@…>, 10 months ago

systemd: remove unneeded LANG=en_US.UTF-8 settings

They were added because ninja had printed warnings about "non UTF-8
locale". Current version of ninja no longer does this.

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