source: chapter08/systemd.xml@ 2882861

xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1
Last change on this file since 2882861 was 2882861, checked in by Xi Ruoyao <xry111@…>, 10 months ago

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

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