source: chapter08/systemd.xml@ d3e7e98

multilib
Last change on this file since d3e7e98 was d3e7e98, checked in by Thomas Trepl (Moody) <thomas@…>, 2 years ago

Automatic merge of trunk into multilib

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