source: chapter08/systemd.xml@ 8725cae

11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 arm ml-11.0 multilib trunk xry111/clfs-ng xry111/glibc-2.34 xry111/lfs-next xry111/tester-nohack
Last change on this file since 8725cae was 8725cae, checked in by Douglas R. Reno <renodr@…>, 14 months ago

Remove unnecessary command for systemd. Nice eye, Xi!

  • Property mode set to 100644
File size: 31.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-systemd" role="wrap" revision="systemd">
9 <?dbhtml filename="systemd.html"?>
10
11 <sect1info condition="script">
12 <productname>systemd</productname>
13 <productnumber>&systemd-version;</productnumber>
14 <address>&systemd-url;</address>
15 </sect1info>
16
17 <title>Systemd-&systemd-version;</title>
18
19 <indexterm zone="ch-system-systemd">
20 <primary sortas="a-systemd">systemd</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The systemd package contains programs for controlling the startup,
27 running, and shutdown of the system.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&systemd-fin-sbu;</seg>
35 <seg>&systemd-fin-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of systemd</title>
42
43<!--
44 <para>First, apply a patch to fix the build with GCC-10 and fix a segfault:</para>
45
46<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-2.patch</userinput></screen>
47-->
48
49 <!-- For linux-5.11's API headers changing the rfkill_event structure -->
50 <para>First, apply a patch to fix some build issues:</para>
51
52<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
53
54<!-- Seems to be not needed anymore with 248
55 <para>Remove tests that cannot be built in chroot:</para>
56
57<screen><userinput remap="pre">sed '177,$ d' -i src/resolve/meson.build</userinput></screen>
58-->
59
60 <para>Remove an unneeded group,
61 <systemitem class="groupname">render</systemitem>, from the default udev
62 rules:</para>
63
64<screen><userinput remap="pre">sed -i 's/GROUP="render"/GROUP="video"/' rules.d/50-udev-default.rules.in</userinput></screen>
65
66 <para>Prepare systemd for compilation:</para>
67
68<screen><userinput remap="configure">mkdir -p build
69cd build
70
71LANG=en_US.UTF-8 \
72meson --prefix=/usr \
73 --sysconfdir=/etc \
74 --localstatedir=/var \
75 -Dblkid=true \
76 -Dbuildtype=release \
77 -Ddefault-dnssec=no \
78 -Dfirstboot=false \
79 -Dinstall-tests=false \
80 -Dldconfig=false \
81 -Dsysusers=false \
82 -Db_lto=false \
83 -Drpmmacrosdir=no \
84 -Dhomed=false \
85 -Duserdb=false \
86 -Dman=false \
87 -Dmode=release \
88 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
89 ..</userinput></screen>
90
91 <variablelist>
92 <title>The meaning of the meson options:</title>
93
94 <varlistentry>
95 <term><parameter>-Ddefault-dnssec=no</parameter></term>
96 <listitem>
97 <para>This switch turns off the experimental DNSSEC support.</para>
98 </listitem>
99 </varlistentry>
100
101 <varlistentry>
102 <term><parameter>-Dfirstboot=false</parameter></term>
103 <listitem>
104 <para>This switch prevents installation of systemd
105 services responsible for setting up the system for
106 the first time. They are not useful for LFS because
107 everything is done manually.</para>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry>
112 <term><parameter>-Dinstall-tests=false</parameter></term>
113 <listitem>
114 <para>This switch prevents installation of the compiled tests.</para>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry>
119 <term><parameter>-Dldconfig=false</parameter></term>
120 <listitem>
121 <para>This switch prevents installation of a systemd unit that runs
122 <command>ldconfig</command> at boot, which is not useful for source
123 distributions such as LFS and makes the boot time longer. Remove it
124 if the described feature is desired.</para>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry>
129 <term><parameter>-Dsysusers=false</parameter></term>
130 <listitem>
131 <para>This switch prevents installation of systemd
132 services responsible for setting up the
133 <filename>/etc/group</filename> and
134 <filename>/etc/passwd</filename> files. Both files
135 were created earlier in this chapter.</para>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry>
140 <term><parameter>-Drpmmacrosdir=no</parameter></term>
141 <listitem>
142 <para>This switch disables installation of RPM Macros
143 for use with systemd because LFS does not support RPM.</para>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry>
148 <term><parameter>-D{userdb,homed}=false</parameter></term>
149 <listitem>
150 <para>Remove two daemons that have dependencies that do not fit
151 the scope of LFS.</para>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry>
156 <term><parameter>-Dman=false</parameter></term>
157 <listitem>
158 <para>Prevent the generation of man pages to avoid extra
159 dependencies. We will install pre-generated man pages for systemd
160 from a tarball later.</para>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry>
165 <term><parameter>-Dmode=release</parameter></term>
166 <listitem>
167 <para>Disable some features considered experimental by upstream.
168 </para>
169 </listitem>
170 </varlistentry>
171
172 </variablelist>
173
174 <para>Compile the package:</para>
175
176<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
177
178 <para>Install the package:</para>
179
180<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
181
182 <para>Install the man pages:</para>
183
184<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
185
186 <para>Remove a useless directory:</para>
187
188<screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
189
190 <para>Create the <filename>/etc/machine-id</filename> file needed by
191 <command>systemd-journald</command>:</para>
192
193<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
194
195 <para>Setup the basic target structure:</para>
196
197<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
198
199 <para>Disable a service that is known to cause problems with systems that
200 use a network configuration other than what is provided by
201 systemd-networkd:</para>
202 <!-- Observed halting startup with dhcpcd handling the primary NIC -->
203
204<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
205
206<!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
207 If it causes any trouble, we can add this back and also copy it into BLFS -->
208<!--
209 <para>Prevent systemd from resetting the maximum PID value which causes
210 some problems with packages and units in BLFS:</para>
211
212<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
213-->
214
215 </sect2>
216
217 <sect2 id="contents-systemd" role="content">
218 <title>Contents of systemd</title>
219
220 <segmentedlist>
221 <segtitle>Installed programs</segtitle>
222 <segtitle>Installed libraries</segtitle>
223 <segtitle>Installed directories</segtitle>
224
225 <seglistitem>
226 <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
227 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
228 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
229 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
230 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
231 (symlink to systemctl), systemctl, systemd-analyze,
232 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
233 systemd-cryptenroll, systemd-delta, systemd-detect-virt,
234 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
235 systemd-inhibit, systemd-machine-id-setup,
236 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
237 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
238 systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
239 systemd-tmpfiles, systemd-tty-ask-password-agent,
240 systemd-umount (symlink to systemd-mount),
241 telinit (symlink to systemctl), timedatectl, and udevadm</seg>
242 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
243 libnss_resolve.so.2, libnss_systemd.so.2,
244 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
245 and libudev.so</seg>
246 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
247 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
248 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
249 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
250 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
251 /usr/lib/tmpfiles.d,
252 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
253 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
254 </seglistitem>
255 </segmentedlist>
256
257 <variablelist>
258 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
259 <?dbfo list-presentation="list"?>
260 <?dbhtml list-presentation="table"?>
261
262 <varlistentry id="bootctl">
263 <term><command>bootctl</command></term>
264 <listitem>
265 <para>Is used to query the firmware and boot manager settings</para>
266 <indexterm zone="ch-system-systemd bootctl">
267 <primary sortas="b-bootctl">bootctl</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
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 then 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 when the kernel has initialized
321 the hardware which takes over the boot process and starts all
322 processes according to 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-analyze">
495 <term><command>systemd-analyze</command></term>
496 <listitem>
497 <para>Is used to determine system startup performance of the current
498 boot, as well as identify troublesome systemd units</para>
499 <indexterm zone="ch-system-systemd systemd-analyze">
500 <primary sortas="b-systemd-analyze">systemd-analyze</primary>
501 </indexterm>
502 </listitem>
503 </varlistentry>
504
505 <varlistentry id="systemd-ask-password">
506 <term><command>systemd-ask-password</command></term>
507 <listitem>
508 <para>Is used to query a system password or passphrase from the user,
509 using a question message specified on the command line</para>
510 <indexterm zone="ch-system-systemd systemd-ask-password">
511 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
512 </indexterm>
513 </listitem>
514 </varlistentry>
515
516 <varlistentry id="systemd-cat">
517 <term><command>systemd-cat</command></term>
518 <listitem>
519 <para>Is used to connect the STDOUT and STDERR outputs of a process
520 with the systemd journal
521 </para>
522 <indexterm zone="ch-system-systemd systemd-cat">
523 <primary sortas="b-systemd-cat">systemd-cat</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 <varlistentry id="systemd-cgls">
529 <term><command>systemd-cgls</command></term>
530 <listitem>
531 <para>Recursively shows the contents of the selected Linux control
532 group hierarchy in a tree</para>
533 <indexterm zone="ch-system-systemd systemd-cgls">
534 <primary sortas="b-systemd-cgls">systemd-cgls</primary>
535 </indexterm>
536 </listitem>
537 </varlistentry>
538
539 <varlistentry id="systemd-cgtop">
540 <term><command>systemd-cgtop</command></term>
541 <listitem>
542 <para>Shows the top control groups of the local Linux control group
543 hierarchy, ordered by their CPU, memory and disk I/O load</para>
544 <indexterm zone="ch-system-systemd systemd-cgtop">
545 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
546 </indexterm>
547 </listitem>
548 </varlistentry>
549
550 <varlistentry id="systemd-cryptenroll">
551 <term><command>systemd-cryptenroll</command></term>
552 <listitem>
553 <para>Is used to enroll or remove a system from full disk encryption,
554 as well as set and query private keys and recovery keys</para>
555 <indexterm zone="ch-system-systemd systemd-cryptenroll">
556 <primary sortas="b-systemd-cryptenroll">systemd-cryptenroll</primary>
557 </indexterm>
558 </listitem>
559 </varlistentry>
560
561 <varlistentry id="systemd-delta">
562 <term><command>systemd-delta</command></term>
563 <listitem>
564 <para>Is used to identify and compare configuration files in
565 <filename class="directory">/etc</filename> that override default
566 counterparts in <filename class="directory">/usr</filename></para>
567 <indexterm zone="ch-system-systemd systemd-delta">
568 <primary sortas="b-systemd-delta">systemd-delta</primary>
569 </indexterm>
570 </listitem>
571 </varlistentry>
572
573 <varlistentry id="systemd-detect-virt">
574 <term><command>systemd-detect-virt</command></term>
575 <listitem>
576 <para>Detects whether the system is being run in a virtual
577 environment, and adjusts udev accordingly</para>
578 <indexterm zone="ch-system-systemd systemd-detect-virt">
579 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
580 </indexterm>
581 </listitem>
582 </varlistentry>
583
584 <varlistentry id="systemd-dissect">
585 <term><command>systemd-dissect</command></term>
586 <listitem>
587 <para>Is used to inspect OS disk images</para>
588 <indexterm zone="ch-system-systemd systemd-dissect">
589 <primary sortas="b-systemd-dissect">systemd-dissect</primary>
590 </indexterm>
591 </listitem>
592 </varlistentry>
593
594 <varlistentry id="systemd-escape">
595 <term><command>systemd-escape</command></term>
596 <listitem>
597 <para>Is used to escape strings for inclusion in systemd unit
598 names</para>
599 <indexterm zone="ch-system-systemd systemd-escape">
600 <primary sortas="b-systemd-escape">systemd-escape</primary>
601 </indexterm>
602 </listitem>
603 </varlistentry>
604
605 <varlistentry id="systemd-hwdb">
606 <term><command>systemd-hwdb</command></term>
607 <listitem>
608 <para>Is used to manage the hardware database (hwdb)</para>
609 <indexterm zone="ch-system-systemd systemd-hwdb">
610 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
611 </indexterm>
612 </listitem>
613 </varlistentry>
614
615 <varlistentry id="systemd-id128">
616 <term><command>systemd-id128</command></term>
617 <listitem>
618 <para>Generates and prints id128 strings</para>
619 <indexterm zone="ch-system-systemd systemd-id128">
620 <primary sortas="b-systemd-id128">systemd-id128</primary>
621 </indexterm>
622 </listitem>
623 </varlistentry>
624
625 <varlistentry id="systemd-inhibit">
626 <term><command>systemd-inhibit</command></term>
627 <listitem>
628 <para>Is used to execute a program with a shutdown, sleep or idle
629 inhibitor lock taken, preventing an action such as a system shutdown
630 until the process is completed</para>
631 <indexterm zone="ch-system-systemd systemd-inhibit">
632 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
633 </indexterm>
634 </listitem>
635 </varlistentry>
636
637 <varlistentry id="systemd-machine-id-setup">
638 <term><command>systemd-machine-id-setup</command></term>
639 <listitem>
640 <para>Is used by system installer tools to initialize the machine ID
641 stored in <filename>/etc/machine-id</filename> at install time with a
642 randomly generated ID</para>
643 <indexterm zone="ch-system-systemd systemd-machine-id-setup">
644 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
645 </indexterm>
646 </listitem>
647 </varlistentry>
648
649 <varlistentry id="systemd-mount">
650 <term><command>systemd-mount</command></term>
651 <listitem>
652 <para>Is used to temporarily mount or automount disks</para>
653 <indexterm zone="ch-system-systemd systemd-mount">
654 <primary sortas="b-systemd-mount">systemd-mount</primary>
655 </indexterm>
656 </listitem>
657 </varlistentry>
658
659 <varlistentry id="systemd-notify">
660 <term><command>systemd-notify</command></term>
661 <listitem>
662 <para>Is used by daemon scripts to notify the init system about status
663 changes</para>
664 <indexterm zone="ch-system-systemd systemd-notify">
665 <primary sortas="b-systemd-notify">systemd-notify</primary>
666 </indexterm>
667 </listitem>
668 </varlistentry>
669
670 <varlistentry id="systemd-nspawn">
671 <term><command>systemd-nspawn</command></term>
672 <listitem>
673 <para>Is used to run a command or OS in a light-weight namespace
674 container</para>
675 <indexterm zone="ch-system-systemd systemd-nspawn">
676 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
677 </indexterm>
678 </listitem>
679 </varlistentry>
680
681 <varlistentry id="systemd-path">
682 <term><command>systemd-path</command></term>
683 <listitem>
684 <para>Is used to query system and user paths</para>
685 <indexterm zone="ch-system-systemd systemd-path">
686 <primary sortas="b-systemd-path">systemd-path</primary>
687 </indexterm>
688 </listitem>
689 </varlistentry>
690
691 <varlistentry id="systemd-repart">
692 <term><command>systemd-repart</command></term>
693 <listitem>
694 <para>Is used to grow and add partitions to a partition table when
695 systemd is used in an OS image (e.g. a container)</para>
696 <indexterm zone="ch-system-systemd systemd-repart">
697 <primary sortas="b-systemd-repart">systemd-repart</primary>
698 </indexterm>
699 </listitem>
700 </varlistentry>
701
702 <varlistentry id="systemd-resolve">
703 <term><command>systemd-resolve</command></term>
704 <listitem>
705 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
706 resource records, and services</para>
707 <indexterm zone="ch-system-systemd systemd-resolve">
708 <primary sortas="b-systemd-resolve">systemd-resolve</primary>
709 </indexterm>
710 </listitem>
711 </varlistentry>
712
713 <varlistentry id="systemd-run">
714 <term><command>systemd-run</command></term>
715 <listitem>
716 <para>Is used to create and start a transient .service or a .scope
717 unit and run the specified command in it. This is useful for
718 validating systemd units</para>
719 <indexterm zone="ch-system-systemd systemd-run">
720 <primary sortas="b-systemd-run">systemd-run</primary>
721 </indexterm>
722 </listitem>
723 </varlistentry>
724
725 <varlistentry id="systemd-socket-activate">
726 <term><command>systemd-socket-activate</command></term>
727 <listitem>
728 <para>Is used to listen on socket devices and launch a process upon
729 a successful connection to the socket</para>
730 <indexterm zone="ch-system-systemd systemd-socket-activate">
731 <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
732 </indexterm>
733 </listitem>
734 </varlistentry>
735
736 <varlistentry id="systemd-sysext">
737 <term><command>systemd-sysext</command></term>
738 <listitem>
739 <para>Activates system extension images</para>
740 <indexterm zone="ch-system-systemd systemd-sysext">
741 <primary sortas="b-systemd-sysext">systemd-sysext</primary>
742 </indexterm>
743 </listitem>
744 </varlistentry>
745
746 <varlistentry id="systemd-tmpfiles">
747 <term><command>systemd-tmpfiles</command></term>
748 <listitem>
749 <para>Creates, deletes and cleans up volatile and temporary files and
750 directories, based on the configuration file format and location
751 specified in
752 <filename class="directory">tmpfiles.d</filename> directories</para>
753 <indexterm zone="ch-system-systemd systemd-tmpfiles">
754 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
755 </indexterm>
756 </listitem>
757 </varlistentry>
758
759 <varlistentry id="systemd-umount">
760 <term><command>systemd-umount</command></term>
761 <listitem>
762 <para>Unmounts mount points</para>
763 <indexterm zone="ch-system-systemd systemd-umount">
764 <primary sortas="b-systemd-umount">systemd-umount</primary>
765 </indexterm>
766 </listitem>
767 </varlistentry>
768
769 <varlistentry id="systemd-tty-ask-password-agent">
770 <term><command>systemd-tty-ask-password-agent</command></term>
771 <listitem>
772 <para>Is used to list and/or process pending systemd password
773 requests</para>
774 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
775 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
776 </indexterm>
777 </listitem>
778 </varlistentry>
779
780 <varlistentry id="telinit">
781 <term><command>telinit</command></term>
782 <listitem>
783 <para>Tells <command>init</command> which run-level to change
784 to</para>
785 <indexterm zone="ch-system-systemd telinit">
786 <primary sortas="b-telinit">telinit</primary>
787 </indexterm>
788 </listitem>
789 </varlistentry>
790
791 <varlistentry id="timedatectl">
792 <term><command>timedatectl</command></term>
793 <listitem>
794 <para>Is used to query and change the system clock and its settings
795 </para>
796 <indexterm zone="ch-system-systemd timedatectl">
797 <primary sortas="b-timedatectl">timedatectl</primary>
798 </indexterm>
799 </listitem>
800 </varlistentry>
801
802 <varlistentry id="udevadm">
803 <term><command>udevadm</command></term>
804 <listitem>
805 <para>Is a generic udev administration tool which controls the udevd
806 daemon, provides info from the Udev hardware database, monitors
807 uevents, waits for uevents to finish, tests udev configuration, and
808 triggers uevents for a given device</para>
809 <indexterm zone="ch-system-systemd udevadm">
810 <primary sortas="b-udevadm">udevadm</primary>
811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="libsystemd">
816 <term><filename class="libraryfile">libsystemd</filename></term>
817 <listitem>
818 <para>Is the main systemd utility library</para>
819 <indexterm zone="ch-system-systemd libsystemd">
820 <primary sortas="c-libsystemd">libsystemd</primary>
821 </indexterm>
822 </listitem>
823 </varlistentry>
824
825 <varlistentry id="libudev">
826 <term><filename class="libraryfile">libudev</filename></term>
827 <listitem>
828 <para>Is a library to access Udev device information</para>
829 <indexterm zone="ch-system-systemd libudev">
830 <primary sortas="c-libudev">libudev</primary>
831 </indexterm>
832 </listitem>
833 </varlistentry>
834
835 </variablelist>
836
837 </sect2>
838
839</sect1>
Note: See TracBrowser for help on using the repository browser.