source: chapter08/systemd.xml@ 06addba

11.0 11.0-rc1 11.0-rc2 11.0-rc3 ml-11.0 multilib trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since 06addba was 06addba, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Add systemd patch to allow systemd-rfkill to work on Linux-5.11+

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12154 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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