source: chapter08/systemd.xml@ 864c66d

multilib xry111/multilib
Last change on this file since 864c66d was d09e490, checked in by Thomas Trepl <thomas@…>, 19 months ago

Automatic merge of trunk into multilib

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