source: chapter08/systemd.xml@ 3ebe876

multilib
Last change on this file since 3ebe876 was 3ebe876, checked in by Thomas Trepl (Moody) <thomas@…>, 21 months ago

Merge upstream

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