source: chapter08/systemd.xml@ 1e9ad78

12.0 12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 1e9ad78 was c2ccad1, checked in by Xi Ruoyao <xry111@…>, 11 months ago

systemd: Add two new symlinks into contents

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