source: chapter08/systemd.xml@ 0ebda11

ml-11.0 multilib
Last change on this file since 0ebda11 was 0ebda11, checked in by Thomas Trepl (Moody) <thomas@…>, 7 months ago

Remove entities for multilib pathes
Add usage of libc_cv_rtlddir

  • Property mode set to 100644
File size: 36.1 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 <!-- - - - - - - - - - -->
218 <!-- Multilib - 32bit -->
219 <!-- - - - - - - - - - -->
220
221 <sect2 arch="ml_32,ml_all" role="installation">
222 <title>Installation of systemd - 32-bit</title>
223
224 <para>Clean previous build:</para>
225
226<screen><userinput remap="pre">rm -rf *</userinput></screen>
227
228 <para>Create a symlink to work around missing xsltproc:</para>
229
230<!-- screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen -->
231<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
232
233<!-- with cross-LFS we have util-linux in place:
234 <para>Because we have not yet installed the final version of Util-Linux,
235 create links to the libraries in the approprite location:</para>
236
237<screen><userinput remap="pre">for file in /tools/lib32/lib{blkid,mount,uuid}*; do
238 ln -sf $file /usr/lib32/
239done</userinput></screen>
240-->
241
242 <para>Prepare systemd for compilation:</para>
243
244 <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
245CC="gcc -m32 -march=i686" \
246CXX="g++ -m32 -march=i686" \
247LANG=en_US.UTF-8 \
248meson --prefix=/usr \
249 --sysconfdir=/etc \
250 --localstatedir=/var \
251 -Dblkid=true \
252 -Dbuildtype=release \
253 -Ddefault-dnssec=no \
254 -Dfirstboot=false \
255 -Dinstall-tests=false \
256 -Dkill-path=/bin/kill \
257 -Dkmod-path=/bin/kmod \
258 -Dldconfig=false \
259 -Dmount-path=/bin/mount \
260 -Drootprefix= \
261 -Drootlibdir=/usr/lib32 \
262 -Dsplit-usr=true \
263 -Dsulogin-path=/sbin/sulogin \
264 -Dsysusers=false \
265 -Dumount-path=/bin/umount \
266 -Db_lto=false \
267 ..</userinput></screen>
268
269 <para>Compile the package:</para>
270
271<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
272
273 <para>Install the package:</para>
274
275<screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
276cp -Rv DESTDIR/usr/lib32/* /usr/lib32
277rm -rf DESTDIR
278rm -f /usr/bin/xsltproc</userinput></screen>
279
280 </sect2><!-- m32 -->
281
282 <!-- - - - - - - - - - -->
283 <!-- Multilib - x32bit -->
284 <!-- - - - - - - - - - -->
285
286 <sect2 arch="ml_x32,ml_all" role="installation">
287 <title>Installation of systemd - x32-bit</title>
288
289 <para>Clean previous build:</para>
290
291<screen><userinput remap="pre">rm -rf *</userinput></screen>
292
293 <para>Create a symlink to work around missing xsltproc:</para>
294
295<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
296
297 <para>Fix an issue on x32:</para>
298
299<screen><userinput remap="pre">sed '/log_debug/s@PRI_TIMEX@PRIi64@' -i src/timesync/timesyncd-manager.c
300sed '/long drift_freq;/s@long @int64_t @' -i src/timesync/timesyncd-manager.h</userinput></screen>
301
302 <para>Prepare systemd for compilation:</para>
303
304<screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \
305CC="gcc -mx32" \
306CXX="g++ -mx32" \
307CFLAGS+="-Wno-error=shift-overflow" \
308CXXFLAGS+="-Wno-error=shift-overflow" \
309LANG=en_US.UTF-8 \
310meson --prefix=/usr \
311 --sysconfdir=/etc \
312 --localstatedir=/var \
313 -Dblkid=true \
314 -Dbuildtype=release \
315 -Ddefault-dnssec=no \
316 -Dfirstboot=false \
317 -Dinstall-tests=false \
318 -Dkill-path=/bin/kill \
319 -Dkmod-path=/bin/kmod \
320 -Dldconfig=false \
321 -Dmount-path=/bin/mount \
322 -Drootprefix= \
323 -Drootlibdir=/usr/libx32 \
324 -Dsplit-usr=true \
325 -Dsulogin-path=/sbin/sulogin \
326 -Dsysusers=false \
327 -Dumount-path=/bin/umount \
328 -Db_lto=false \
329 ..</userinput></screen>
330
331 <para>Compile the package:</para>
332
333<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
334
335 <para>Install the package:</para>
336
337<screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
338cp -Rv DESTDIR/usr/lib32/* /usr/lib32
339rm -rf DESTDIR
340rm -f /usr/bin/xsltproc</userinput></screen>
341
342 </sect2><!-- mx32 -->
343
344 <sect2 id="contents-systemd" role="content">
345 <title>Contents of systemd</title>
346
347 <segmentedlist>
348 <segtitle>Installed programs</segtitle>
349 <segtitle>Installed libraries</segtitle>
350 <segtitle>Installed directories</segtitle>
351
352 <seglistitem>
353 <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
354 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
355 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
356 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
357 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
358 (symlink to systemctl), systemctl, systemd-analyze,
359 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
360 systemd-cryptenroll, systemd-delta, systemd-detect-virt,
361 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
362 systemd-inhibit, systemd-machine-id-setup,
363 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
364 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
365 systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
366 systemd-tmpfiles, systemd-tty-ask-password-agent,
367 systemd-umount (symlink to systemd-mount),
368 telinit (symlink to systemctl), timedatectl, and udevadm</seg>
369 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
370 libnss_resolve.so.2, libnss_systemd.so.2,
371 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
372 and libudev.so</seg>
373 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
374 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
375 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
376 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
377 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
378 /usr/lib/tmpfiles.d,
379 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
380 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
381 </seglistitem>
382 </segmentedlist>
383
384 <variablelist>
385 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
386 <?dbfo list-presentation="list"?>
387 <?dbhtml list-presentation="table"?>
388
389 <varlistentry id="bootctl">
390 <term><command>bootctl</command></term>
391 <listitem>
392 <para>Is used to query the firmware and boot manager settings</para>
393 <indexterm zone="ch-system-systemd bootctl">
394 <primary sortas="b-bootctl">bootctl</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="busctl">
400 <term><command>busctl</command></term>
401 <listitem>
402 <para>Is used to introspect and monitor the D-Bus bus</para>
403 <indexterm zone="ch-system-systemd busctl">
404 <primary sortas="b-busctl">busctl</primary>
405 </indexterm>
406 </listitem>
407 </varlistentry>
408
409 <varlistentry id="coredumpctl">
410 <term><command>coredumpctl</command></term>
411 <listitem>
412 <para>Is used to retrieve coredumps from the systemd journal</para>
413 <indexterm zone="ch-system-systemd coredumpctl">
414 <primary sortas="b-coredumpctl">coredumpctl</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
419 <varlistentry id="halt">
420 <term><command>halt</command></term>
421 <listitem>
422 <para>Normally invokes <command>shutdown</command> with the
423 <parameter>-h</parameter> option, except when already in run-level 0,
424 then it tells the kernel to halt the system; it notes in the
425 file <filename>/var/log/wtmp</filename> that the system is being
426 brought down</para>
427 <indexterm zone="ch-system-systemd halt">
428 <primary sortas="b-halt">halt</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
432
433 <varlistentry id="hostnamectl">
434 <term><command>hostnamectl</command></term>
435 <listitem>
436 <para>Is used to query and change the system hostname and related
437 settings</para>
438 <indexterm zone="ch-system-systemd hostnamectl">
439 <primary sortas="b-hostnamectl">hostnamectl</primary>
440 </indexterm>
441 </listitem>
442 </varlistentry>
443
444 <varlistentry id="init">
445 <term><command>init</command></term>
446 <listitem>
447 <para>Is the first process to be started when the kernel has initialized
448 the hardware which takes over the boot process and starts all
449 processes according to its configuration files. In this case, it starts
450 systemd</para>
451 <indexterm zone="ch-system-systemd init">
452 <primary sortas="b-init">init</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="journalctl">
458 <term><command>journalctl</command></term>
459 <listitem>
460 <para>Is used to query the contents of the systemd journal</para>
461 <indexterm zone="ch-system-systemd journalctl">
462 <primary sortas="b-journalctl">journalctl</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="kernel-install">
468 <term><command>kernel-install</command></term>
469 <listitem>
470 <para>Is used to add and remove kernel and initramfs images to and
471 from /boot. In LFS, this is done manually</para>
472 <indexterm zone="ch-system-systemd kernel-install">
473 <primary sortas="b-kernel-install">kernel-install</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="localectl">
479 <term><command>localectl</command></term>
480 <listitem>
481 <para>Is used to query and change the system locale and keyboard layout
482 settings</para>
483 <indexterm zone="ch-system-systemd localectl">
484 <primary sortas="b-localectl">localectl</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="loginctl">
490 <term><command>loginctl</command></term>
491 <listitem>
492 <para>Is used to introspect and control the state of the systemd Login
493 Manager</para>
494 <indexterm zone="ch-system-systemd loginctl">
495 <primary sortas="b-loginctl">loginctl</primary>
496 </indexterm>
497 </listitem>
498 </varlistentry>
499
500 <varlistentry id="machinectl">
501 <term><command>machinectl</command></term>
502 <listitem>
503 <para>Is used to introspect and control the state of the systemd Virtual
504 Machine and Container Registration Manager</para>
505 <indexterm zone="ch-system-systemd machinectl">
506 <primary sortas="b-machinectl">machinectl</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="networkctl">
512 <term><command>networkctl</command></term>
513 <listitem>
514 <para>Is used to introspect and configure the state of the network
515 links configured by systemd-networkd</para>
516 <indexterm zone="ch-system-systemd networkctl">
517 <primary sortas="b-networkctl">networkctl</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
522 <varlistentry id="oomctl">
523 <term><command>oomctl</command></term>
524 <listitem>
525 <para>Controls the systemd Out Of Memory daemon</para>
526 <indexterm zone="ch-system-systemd oomctl">
527 <primary sortas="b-oomctl">oomctl</primary>
528 </indexterm>
529 </listitem>
530 </varlistentry>
531
532 <varlistentry id="portablectl">
533 <term><command>portablectl</command></term>
534 <listitem>
535 <para>Is used to attach or detach portable services from the local
536 system</para>
537 <indexterm zone="ch-system-systemd portablectl">
538 <primary sortas="b-portablectl">portablectl</primary>
539 </indexterm>
540 </listitem>
541 </varlistentry>
542
543 <varlistentry id="poweroff">
544 <term><command>poweroff</command></term>
545 <listitem>
546 <para>Instructs the kernel to halt the system and switch off the computer
547 (see <command>halt</command>)</para>
548 <indexterm zone="ch-system-systemd poweroff">
549 <primary sortas="b-poweroff">poweroff</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
554 <varlistentry id="reboot">
555 <term><command>reboot</command></term>
556 <listitem>
557 <para>Instructs the kernel to reboot the system (see
558 <command>halt</command>)</para>
559 <indexterm zone="ch-system-systemd reboot">
560 <primary sortas="b-reboot">reboot</primary>
561 </indexterm>
562 </listitem>
563 </varlistentry>
564
565 <varlistentry id="resolvconf">
566 <term><command>resolvconf</command></term>
567 <listitem>
568 <para>Registers DNS server and domain configuration with
569 <command>systemd-resolved</command></para>
570 <indexterm zone="ch-system-systemd resolvconf">
571 <primary sortas="b-resolvconf">resolvconf</primary>
572 </indexterm>
573 </listitem>
574 </varlistentry>
575
576 <varlistentry id="resolvectl">
577 <term><command>resolvectl</command></term>
578 <listitem>
579 <para>Sends control commands to the network name resolution
580 manager, or resolves domain names, IPv4 and IPv6 addresses,
581 DNS records, and services</para>
582 <indexterm zone="ch-system-systemd resolvectl">
583 <primary sortas="b-resolvectl">resolvectl</primary>
584 </indexterm>
585 </listitem>
586 </varlistentry>
587
588 <varlistentry id="runlevel">
589 <term><command>runlevel</command></term>
590 <listitem>
591 <para>Outputs the previous and the current run-level, as noted in the
592 last run-level record in <filename>/run/utmp</filename></para>
593 <indexterm zone="ch-system-systemd runlevel">
594 <primary sortas="b-runlevel">runlevel</primary>
595 </indexterm>
596 </listitem>
597 </varlistentry>
598
599 <varlistentry id="shutdown">
600 <term><command>shutdown</command></term>
601 <listitem>
602 <para>Brings the system down in a safe and secure manner, signaling
603 all processes and notifying all logged-in users</para>
604 <indexterm zone="ch-system-systemd shutdown">
605 <primary sortas="b-shutdown">shutdown</primary>
606 </indexterm>
607 </listitem>
608 </varlistentry>
609
610 <varlistentry id="systemctl">
611 <term><command>systemctl</command></term>
612 <listitem>
613 <para>Is used to introspect and control the state of the systemd system
614 and service manager</para>
615 <indexterm zone="ch-system-systemd systemctl">
616 <primary sortas="b-systemctl">systemctl</primary>
617 </indexterm>
618 </listitem>
619 </varlistentry>
620
621 <varlistentry id="systemd-analyze">
622 <term><command>systemd-analyze</command></term>
623 <listitem>
624 <para>Is used to determine system startup performance of the current
625 boot, as well as identify troublesome systemd units</para>
626 <indexterm zone="ch-system-systemd systemd-analyze">
627 <primary sortas="b-systemd-analyze">systemd-analyze</primary>
628 </indexterm>
629 </listitem>
630 </varlistentry>
631
632 <varlistentry id="systemd-ask-password">
633 <term><command>systemd-ask-password</command></term>
634 <listitem>
635 <para>Is used to query a system password or passphrase from the user,
636 using a question message specified on the command line</para>
637 <indexterm zone="ch-system-systemd systemd-ask-password">
638 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
639 </indexterm>
640 </listitem>
641 </varlistentry>
642
643 <varlistentry id="systemd-cat">
644 <term><command>systemd-cat</command></term>
645 <listitem>
646 <para>Is used to connect the STDOUT and STDERR outputs of a process
647 with the systemd journal
648 </para>
649 <indexterm zone="ch-system-systemd systemd-cat">
650 <primary sortas="b-systemd-cat">systemd-cat</primary>
651 </indexterm>
652 </listitem>
653 </varlistentry>
654
655 <varlistentry id="systemd-cgls">
656 <term><command>systemd-cgls</command></term>
657 <listitem>
658 <para>Recursively shows the contents of the selected Linux control
659 group hierarchy in a tree</para>
660 <indexterm zone="ch-system-systemd systemd-cgls">
661 <primary sortas="b-systemd-cgls">systemd-cgls</primary>
662 </indexterm>
663 </listitem>
664 </varlistentry>
665
666 <varlistentry id="systemd-cgtop">
667 <term><command>systemd-cgtop</command></term>
668 <listitem>
669 <para>Shows the top control groups of the local Linux control group
670 hierarchy, ordered by their CPU, memory and disk I/O load</para>
671 <indexterm zone="ch-system-systemd systemd-cgtop">
672 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
673 </indexterm>
674 </listitem>
675 </varlistentry>
676
677 <varlistentry id="systemd-cryptenroll">
678 <term><command>systemd-cryptenroll</command></term>
679 <listitem>
680 <para>Is used to enroll or remove a system from full disk encryption,
681 as well as set and query private keys and recovery keys</para>
682 <indexterm zone="ch-system-systemd systemd-cryptenroll">
683 <primary sortas="b-systemd-cryptenroll">systemd-cryptenroll</primary>
684 </indexterm>
685 </listitem>
686 </varlistentry>
687
688 <varlistentry id="systemd-delta">
689 <term><command>systemd-delta</command></term>
690 <listitem>
691 <para>Is used to identify and compare configuration files in
692 <filename class="directory">/etc</filename> that override default
693 counterparts in <filename class="directory">/usr</filename></para>
694 <indexterm zone="ch-system-systemd systemd-delta">
695 <primary sortas="b-systemd-delta">systemd-delta</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 <varlistentry id="systemd-detect-virt">
701 <term><command>systemd-detect-virt</command></term>
702 <listitem>
703 <para>Detects whether the system is being run in a virtual
704 environment, and adjusts udev accordingly</para>
705 <indexterm zone="ch-system-systemd systemd-detect-virt">
706 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
707 </indexterm>
708 </listitem>
709 </varlistentry>
710
711 <varlistentry id="systemd-dissect">
712 <term><command>systemd-dissect</command></term>
713 <listitem>
714 <para>Is used to inspect OS disk images</para>
715 <indexterm zone="ch-system-systemd systemd-dissect">
716 <primary sortas="b-systemd-dissect">systemd-dissect</primary>
717 </indexterm>
718 </listitem>
719 </varlistentry>
720
721 <varlistentry id="systemd-escape">
722 <term><command>systemd-escape</command></term>
723 <listitem>
724 <para>Is used to escape strings for inclusion in systemd unit
725 names</para>
726 <indexterm zone="ch-system-systemd systemd-escape">
727 <primary sortas="b-systemd-escape">systemd-escape</primary>
728 </indexterm>
729 </listitem>
730 </varlistentry>
731
732 <varlistentry id="systemd-hwdb">
733 <term><command>systemd-hwdb</command></term>
734 <listitem>
735 <para>Is used to manage the hardware database (hwdb)</para>
736 <indexterm zone="ch-system-systemd systemd-hwdb">
737 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
738 </indexterm>
739 </listitem>
740 </varlistentry>
741
742 <varlistentry id="systemd-id128">
743 <term><command>systemd-id128</command></term>
744 <listitem>
745 <para>Generates and prints id128 strings</para>
746 <indexterm zone="ch-system-systemd systemd-id128">
747 <primary sortas="b-systemd-id128">systemd-id128</primary>
748 </indexterm>
749 </listitem>
750 </varlistentry>
751
752 <varlistentry id="systemd-inhibit">
753 <term><command>systemd-inhibit</command></term>
754 <listitem>
755 <para>Is used to execute a program with a shutdown, sleep or idle
756 inhibitor lock taken, preventing an action such as a system shutdown
757 until the process is completed</para>
758 <indexterm zone="ch-system-systemd systemd-inhibit">
759 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
760 </indexterm>
761 </listitem>
762 </varlistentry>
763
764 <varlistentry id="systemd-machine-id-setup">
765 <term><command>systemd-machine-id-setup</command></term>
766 <listitem>
767 <para>Is used by system installer tools to initialize the machine ID
768 stored in <filename>/etc/machine-id</filename> at install time with a
769 randomly generated ID</para>
770 <indexterm zone="ch-system-systemd systemd-machine-id-setup">
771 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
772 </indexterm>
773 </listitem>
774 </varlistentry>
775
776 <varlistentry id="systemd-mount">
777 <term><command>systemd-mount</command></term>
778 <listitem>
779 <para>Is used to temporarily mount or automount disks</para>
780 <indexterm zone="ch-system-systemd systemd-mount">
781 <primary sortas="b-systemd-mount">systemd-mount</primary>
782 </indexterm>
783 </listitem>
784 </varlistentry>
785
786 <varlistentry id="systemd-notify">
787 <term><command>systemd-notify</command></term>
788 <listitem>
789 <para>Is used by daemon scripts to notify the init system about status
790 changes</para>
791 <indexterm zone="ch-system-systemd systemd-notify">
792 <primary sortas="b-systemd-notify">systemd-notify</primary>
793 </indexterm>
794 </listitem>
795 </varlistentry>
796
797 <varlistentry id="systemd-nspawn">
798 <term><command>systemd-nspawn</command></term>
799 <listitem>
800 <para>Is used to run a command or OS in a light-weight namespace
801 container</para>
802 <indexterm zone="ch-system-systemd systemd-nspawn">
803 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
808 <varlistentry id="systemd-path">
809 <term><command>systemd-path</command></term>
810 <listitem>
811 <para>Is used to query system and user paths</para>
812 <indexterm zone="ch-system-systemd systemd-path">
813 <primary sortas="b-systemd-path">systemd-path</primary>
814 </indexterm>
815 </listitem>
816 </varlistentry>
817
818 <varlistentry id="systemd-repart">
819 <term><command>systemd-repart</command></term>
820 <listitem>
821 <para>Is used to grow and add partitions to a partition table when
822 systemd is used in an OS image (e.g. a container)</para>
823 <indexterm zone="ch-system-systemd systemd-repart">
824 <primary sortas="b-systemd-repart">systemd-repart</primary>
825 </indexterm>
826 </listitem>
827 </varlistentry>
828
829 <varlistentry id="systemd-resolve">
830 <term><command>systemd-resolve</command></term>
831 <listitem>
832 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
833 resource records, and services</para>
834 <indexterm zone="ch-system-systemd systemd-resolve">
835 <primary sortas="b-systemd-resolve">systemd-resolve</primary>
836 </indexterm>
837 </listitem>
838 </varlistentry>
839
840 <varlistentry id="systemd-run">
841 <term><command>systemd-run</command></term>
842 <listitem>
843 <para>Is used to create and start a transient .service or a .scope
844 unit and run the specified command in it. This is useful for
845 validating systemd units</para>
846 <indexterm zone="ch-system-systemd systemd-run">
847 <primary sortas="b-systemd-run">systemd-run</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 <varlistentry id="systemd-socket-activate">
853 <term><command>systemd-socket-activate</command></term>
854 <listitem>
855 <para>Is used to listen on socket devices and launch a process upon
856 a successful connection to the socket</para>
857 <indexterm zone="ch-system-systemd systemd-socket-activate">
858 <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
859 </indexterm>
860 </listitem>
861 </varlistentry>
862
863 <varlistentry id="systemd-sysext">
864 <term><command>systemd-sysext</command></term>
865 <listitem>
866 <para>Activates system extension images</para>
867 <indexterm zone="ch-system-systemd systemd-sysext">
868 <primary sortas="b-systemd-sysext">systemd-sysext</primary>
869 </indexterm>
870 </listitem>
871 </varlistentry>
872
873 <varlistentry id="systemd-tmpfiles">
874 <term><command>systemd-tmpfiles</command></term>
875 <listitem>
876 <para>Creates, deletes and cleans up volatile and temporary files and
877 directories, based on the configuration file format and location
878 specified in
879 <filename class="directory">tmpfiles.d</filename> directories</para>
880 <indexterm zone="ch-system-systemd systemd-tmpfiles">
881 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
882 </indexterm>
883 </listitem>
884 </varlistentry>
885
886 <varlistentry id="systemd-umount">
887 <term><command>systemd-umount</command></term>
888 <listitem>
889 <para>Unmounts mount points</para>
890 <indexterm zone="ch-system-systemd systemd-umount">
891 <primary sortas="b-systemd-umount">systemd-umount</primary>
892 </indexterm>
893 </listitem>
894 </varlistentry>
895
896 <varlistentry id="systemd-tty-ask-password-agent">
897 <term><command>systemd-tty-ask-password-agent</command></term>
898 <listitem>
899 <para>Is used to list and/or process pending systemd password
900 requests</para>
901 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
902 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
903 </indexterm>
904 </listitem>
905 </varlistentry>
906
907 <varlistentry id="telinit">
908 <term><command>telinit</command></term>
909 <listitem>
910 <para>Tells <command>init</command> which run-level to change
911 to</para>
912 <indexterm zone="ch-system-systemd telinit">
913 <primary sortas="b-telinit">telinit</primary>
914 </indexterm>
915 </listitem>
916 </varlistentry>
917
918 <varlistentry id="timedatectl">
919 <term><command>timedatectl</command></term>
920 <listitem>
921 <para>Is used to query and change the system clock and its settings
922 </para>
923 <indexterm zone="ch-system-systemd timedatectl">
924 <primary sortas="b-timedatectl">timedatectl</primary>
925 </indexterm>
926 </listitem>
927 </varlistentry>
928
929 <varlistentry id="udevadm">
930 <term><command>udevadm</command></term>
931 <listitem>
932 <para>Is a generic udev administration tool which controls the udevd
933 daemon, provides info from the Udev hardware database, monitors
934 uevents, waits for uevents to finish, tests udev configuration, and
935 triggers uevents for a given device</para>
936 <indexterm zone="ch-system-systemd udevadm">
937 <primary sortas="b-udevadm">udevadm</primary>
938 </indexterm>
939 </listitem>
940 </varlistentry>
941
942 <varlistentry id="libsystemd">
943 <term><filename class="libraryfile">libsystemd</filename></term>
944 <listitem>
945 <para>Is the main systemd utility library</para>
946 <indexterm zone="ch-system-systemd libsystemd">
947 <primary sortas="c-libsystemd">libsystemd</primary>
948 </indexterm>
949 </listitem>
950 </varlistentry>
951
952 <varlistentry id="libudev">
953 <term><filename class="libraryfile">libudev</filename></term>
954 <listitem>
955 <para>Is a library to access Udev device information</para>
956 <indexterm zone="ch-system-systemd libudev">
957 <primary sortas="c-libudev">libudev</primary>
958 </indexterm>
959 </listitem>
960 </varlistentry>
961
962 </variablelist>
963
964 </sect2>
965
966</sect1>
Note: See TracBrowser for help on using the repository browser.