source: chapter08/systemd.xml@ 7dcd8c7

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

systemd: Remove sed unneeded with 254

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