source: chapter08/systemd.xml@ 51c01bff

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

Automatic merge of trunk into multilib

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