source: chapter08/systemd.xml@ 9c7437f

12.2-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch
Last change on this file since 9c7437f was cadbe55, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk

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