source: chapter08/systemd.xml@ 87119fd

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 87119fd was 87119fd, checked in by Douglas R. Reno <renodr@…>, 12 months ago

Package Updates and Additions
Add MarkupSafe
Add Jinja2
Update to texinfo-6.8
Update to iproute2-5.13.0
Update to Python-3.9.6 (Security Update)
Update to systemd-249 (Security Update)
Update to Linux-5.13.1

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