source: chapter08/systemd.xml@ 479d3bc

xry111/loongarch xry111/loongarch-12.2
Last change on this file since 479d3bc was 479d3bc, checked in by Xi Ruoyao <xry111@…>, 7 weeks ago

Merge remote-tracking branch 'origin/trunk' into xry111/loongarch

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