source: chapter08/systemd.xml@ 06cdaed

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 arm ml-11.0 multilib trunk xry111/clfs-ng xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack
Last change on this file since 06cdaed was 06cdaed, checked in by Xi Ruoyao <xry111@…>, 13 months ago

systemd: sync with BLFS

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