source: chapter08/systemd.xml@ f8018d2c

multilib xry111/multilib
Last change on this file since f8018d2c 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
RevLine 
[f896e21c]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
[35a5259]8<sect1 id="ch-system-systemd" role="wrap" revision="systemd">
[cba2d4e]9 <?dbhtml filename="systemd.html"?>
[f896e21c]10
11 <sect1info condition="script">
[cba2d4e]12 <productname>systemd</productname>
[f896e21c]13 <productnumber>&systemd-version;</productnumber>
14 <address>&systemd-url;</address>
15 </sect1info>
16
[cba2d4e]17 <title>Systemd-&systemd-version;</title>
[f896e21c]18
[cba2d4e]19 <indexterm zone="ch-system-systemd">
[1118b17]20 <primary sortas="a-systemd">systemd</primary>
[f896e21c]21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
[1118b17]26 <para>The systemd package contains programs for controlling the startup,
[cba2d4e]27 running, and shutdown of the system.</para>
[f896e21c]28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
[6dfcfecc]34 <seg>&systemd-fin-sbu;</seg>
35 <seg>&systemd-fin-du;</seg>
[f896e21c]36 </seglistitem>
37 </segmentedlist>
38 </sect2>
39
40 <sect2 role="installation">
[1118b17]41 <title>Installation of systemd</title>
[bc375da6]42
[87119fd]43 <para>Remove two unneeded groups,
44 <systemitem class="groupname">render</systemitem> and
45 <systemitem class="groupname">sgx</systemitem>, from the default udev
[896e77e]46 rules:</para>
47
[1f201845]48 <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
[96fa6f2]49 -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
[896e77e]50
[1118b17]51 <para>Prepare systemd for compilation:</para>
52
[be00729f]53<screen><userinput remap="configure">mkdir -p build
[04b2165]54cd build
[fc199db]55
[95906db]56meson --prefix=/usr \
[06cdaed]57 --buildtype=release \
[95906db]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 \
[ceebda5]66 -Dman=false \
[38de42d]67 -Dmode=release \
[77e340bc]68 -Dpamconfdir=no \
[d7e0db5]69 -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
[fc199db]70 ..</userinput></screen>
[cba2d4e]71
72 <variablelist>
[81ed05f]73 <title>The meaning of the meson options:</title>
[cba2d4e]74
[06cdaed]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
[cba2d4e]84 <varlistentry>
[81ed05f]85 <term><parameter>-Ddefault-dnssec=no</parameter></term>
[cba2d4e]86 <listitem>
[81ed05f]87 <para>This switch turns off the experimental DNSSEC support.</para>
[cba2d4e]88 </listitem>
89 </varlistentry>
90
91 <varlistentry>
[81ed05f]92 <term><parameter>-Dfirstboot=false</parameter></term>
[cba2d4e]93 <listitem>
[81ed05f]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>
[cba2d4e]98 </listitem>
99 </varlistentry>
100
[e88a471b]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
[cba2d4e]108 <varlistentry>
[0d84af1]109 <term><parameter>-Dldconfig=false</parameter></term>
[cba2d4e]110 <listitem>
[0d84af1]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>
[cba2d4e]115 </listitem>
116 </varlistentry>
117
[1118b17]118 <varlistentry>
[81ed05f]119 <term><parameter>-Dsysusers=false</parameter></term>
[1118b17]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
[f09dd59]125 were created in the previous chapter. This daemon is not useful
[0a75d62]126 on an LFS system since user accounts are manually created.</para>
[cba2d4e]127 </listitem>
128 </varlistentry>
129
[be00729f]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>
[d1fbbd0]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
[ceebda5]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
[38de42d]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
[77e340bc]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>
[cba2d4e]170 </variablelist>
171
172 <para>Compile the package:</para>
173
[69c4524]174<screen><userinput remap="make">ninja</userinput></screen>
[f896e21c]175
176 <para>Install the package:</para>
177
[69c4524]178<screen><userinput remap="install">ninja install</userinput></screen>
[cba2d4e]179
[ceebda5]180 <para>Install the man pages:</para>
[cba2d4e]181
[b4008bb]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>
[a5c2803]185
[cba2d4e]186 <para>Create the <filename>/etc/machine-id</filename> file needed by
[1118b17]187 <command>systemd-journald</command>:</para>
[053b206]188
[15f0f21]189<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
[cba2d4e]190
[0aaf6a31]191 <para>Setup the basic target structure:</para>
192
193<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
194
[f99a7eb]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
[a5c2803]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<!--
[0aaf6a31]204 <para>Prevent systemd from resetting the maximum PID value which causes
205 some problems with packages and units in BLFS:</para>
[d672ab7]206
[d1fbbd0]207<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
[a5c2803]208-->
[0aaf6a31]209
[f896e21c]210 </sect2>
211
[6dfcfecc]212 <!-- - - - - - - - - - -->
213 <!-- Multilib - 32bit -->
214 <!-- - - - - - - - - - -->
215
[fd48baa]216 <sect2 arch="ml_32,ml_all" role="installation">
[b3f1ebb3]217 <title>Installation of systemd - 32-bit</title>
218
219 <para>Clean previous build:</para>
220
[6dfcfecc]221<screen><userinput remap="pre">rm -rf *</userinput></screen>
[b3f1ebb3]222
223 <para>Create a symlink to work around missing xsltproc:</para>
224
[6dfcfecc]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>
[b3f1ebb3]227
[6dfcfecc]228<!-- with cross-LFS we have util-linux in place:
[b3f1ebb3]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>
[6dfcfecc]235-->
[b3f1ebb3]236
237 <para>Prepare systemd for compilation:</para>
238
[0ebda11]239 <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
[b3f1ebb3]240CC="gcc -m32 -march=i686" \
241CXX="g++ -m32 -march=i686" \
242LANG=en_US.UTF-8 \
243meson --prefix=/usr \
244 --sysconfdir=/etc \
245 --localstatedir=/var \
[0ebda11]246 -Drootlibdir=/usr/lib32 \
[3c2b819]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 \
[b3f1ebb3]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
[0ebda11]268cp -Rv DESTDIR/usr/lib32/* /usr/lib32
[b3f1ebb3]269rm -rf DESTDIR
270rm -f /usr/bin/xsltproc</userinput></screen>
271
[6dfcfecc]272 </sect2><!-- m32 -->
[b3f1ebb3]273
[6dfcfecc]274 <!-- - - - - - - - - - -->
275 <!-- Multilib - x32bit -->
276 <!-- - - - - - - - - - -->
277
[fd48baa]278 <sect2 arch="ml_x32,ml_all" role="installation">
[b3f1ebb3]279 <title>Installation of systemd - x32-bit</title>
280
281 <para>Clean previous build:</para>
282
[6dfcfecc]283<screen><userinput remap="pre">rm -rf *</userinput></screen>
[b3f1ebb3]284
285 <para>Create a symlink to work around missing xsltproc:</para>
286
[6dfcfecc]287<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
[3c2b819]288<!--
[b3f1ebb3]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>
[3c2b819]293-->
[b3f1ebb3]294 <para>Prepare systemd for compilation:</para>
295
[0ebda11]296<screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \
[b3f1ebb3]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 \
[0ebda11]305 -Drootlibdir=/usr/libx32 \
[3c2b819]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 \
[b3f1ebb3]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
[3c2b819]327cp -Rv DESTDIR/usr/libx32/* /usr/libx32
[b3f1ebb3]328rm -rf DESTDIR
329rm -f /usr/bin/xsltproc</userinput></screen>
330
[6dfcfecc]331 </sect2><!-- mx32 -->
[b3f1ebb3]332
[cba2d4e]333 <sect2 id="contents-systemd" role="content">
[1118b17]334 <title>Contents of systemd</title>
[f896e21c]335
336 <segmentedlist>
337 <segtitle>Installed programs</segtitle>
338 <segtitle>Installed libraries</segtitle>
339 <segtitle>Installed directories</segtitle>
340
341 <seglistitem>
[662f649]342 <seg>busctl, coredumpctl, halt (symlink to systemctl),
[78cc3be]343 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
[d7a9421]344 machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
[78cc3be]345 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
346 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
347 (symlink to systemctl), systemctl, systemd-analyze,
[1118b17]348 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
[662f649]349 systemd-creds, systemd-delta, systemd-detect-virt,
[d7a9421]350 systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
351 systemd-inhibit, systemd-machine-id-setup,
[78cc3be]352 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
[d1fbbd0]353 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
[d7a9421]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>
[1118b17]358 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
[78cc3be]359 libnss_resolve.so.2, libnss_systemd.so.2,
[d7a9421]360 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
[a840e59]361 and libudev.so</seg>
[cba2d4e]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,
[d7a9421]364 /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
[d672ab7]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,
[4ea78e0]367 /usr/lib/tmpfiles.d,
[1118b17]368 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
369 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
[f896e21c]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
[cba2d4e]378 <varlistentry id="busctl">
379 <term><command>busctl</command></term>
380 <listitem>
[6dfcfecc]381 <para>Is used to introspect and monitor the D-Bus bus</para>
[cba2d4e]382 <indexterm zone="ch-system-systemd busctl">
383 <primary sortas="b-busctl">busctl</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
[1118b17]388 <varlistentry id="coredumpctl">
389 <term><command>coredumpctl</command></term>
390 <listitem>
[6dfcfecc]391 <para>Is used to retrieve coredumps from the systemd journal</para>
[1118b17]392 <indexterm zone="ch-system-systemd coredumpctl">
393 <primary sortas="b-coredumpctl">coredumpctl</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
[cba2d4e]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
[1118b17]405 brought down</para>
[cba2d4e]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>
[6dfcfecc]415 <para>Is used to query and change the system hostname and related
[1118b17]416 settings</para>
[cba2d4e]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>
[6dfcfecc]426 <para>Is the first process to be started when the kernel has initialized
[d672ab7]427 the hardware which takes over the boot process and starts all
[6dfcfecc]428 processes according to its configuration files. In this case, it starts
[4c8c128]429 systemd</para>
[cba2d4e]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>
[6dfcfecc]439 <para>Is used to query the contents of the systemd journal</para>
[cba2d4e]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>
[6dfcfecc]449 <para>Is used to add and remove kernel and initramfs images to and
[4c8c128]450 from /boot. In LFS, this is done manually</para>
[cba2d4e]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>
[6dfcfecc]460 <para>Is used to query and change the system locale and keyboard layout
[1118b17]461 settings</para>
[cba2d4e]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>
[6dfcfecc]471 <para>Is used to introspect and control the state of the systemd Login
[1118b17]472 Manager</para>
[cba2d4e]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>
[6dfcfecc]482 <para>Is used to introspect and control the state of the systemd Virtual
[cba2d4e]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
[1118b17]490 <varlistentry id="networkctl">
491 <term><command>networkctl</command></term>
492 <listitem>
[d672ab7]493 <para>Is used to introspect and configure the state of the network
[6dfcfecc]494 links configured by systemd-networkd</para>
[1118b17]495 <indexterm zone="ch-system-systemd networkctl">
496 <primary sortas="b-networkctl">networkctl</primary>
497 </indexterm>
498 </listitem>
499 </varlistentry>
500
[d7a9421]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
[78cc3be]511 <varlistentry id="portablectl">
512 <term><command>portablectl</command></term>
513 <listitem>
[6dfcfecc]514 <para>Is used to attach or detach portable services from the local
[78cc3be]515 system</para>
516 <indexterm zone="ch-system-systemd portablectl">
517 <primary sortas="b-portablectl">portablectl</primary>
518 </indexterm>
519 </listitem>
520 </varlistentry>
521
[cba2d4e]522 <varlistentry id="poweroff">
523 <term><command>poweroff</command></term>
524 <listitem>
[6dfcfecc]525 <para>Instructs the kernel to halt the system and switch off the computer
[1118b17]526 (see <command>halt</command>)</para>
[cba2d4e]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>
[f896e21c]535 <listitem>
[6dfcfecc]536 <para>Instructs the kernel to reboot the system (see
[1118b17]537 <command>halt</command>)</para>
[cba2d4e]538 <indexterm zone="ch-system-systemd reboot">
539 <primary sortas="b-reboot">reboot</primary>
[f896e21c]540 </indexterm>
541 </listitem>
542 </varlistentry>
543
[78cc3be]544 <varlistentry id="resolvconf">
545 <term><command>resolvconf</command></term>
546 <listitem>
[6dfcfecc]547 <para>Registers DNS server and domain configuration with
[93058448]548 <command>systemd-resolved</command></para>
[78cc3be]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>
[6dfcfecc]558 <para>Sends control commands to the network name resolution
559 manager, or resolves domain names, IPv4 and IPv6 addresses,
[4c8c128]560 DNS records, and services</para>
[78cc3be]561 <indexterm zone="ch-system-systemd resolvectl">
562 <primary sortas="b-resolvectl">resolvectl</primary>
563 </indexterm>
564 </listitem>
565 </varlistentry>
566
[cba2d4e]567 <varlistentry id="runlevel">
568 <term><command>runlevel</command></term>
[f896e21c]569 <listitem>
[6dfcfecc]570 <para>Outputs the previous and the current run-level, as noted in the
[edd83dc]571 last run-level record in <filename>/run/utmp</filename></para>
[cba2d4e]572 <indexterm zone="ch-system-systemd runlevel">
573 <primary sortas="b-runlevel">runlevel</primary>
[f896e21c]574 </indexterm>
575 </listitem>
576 </varlistentry>
577
[cba2d4e]578 <varlistentry id="shutdown">
579 <term><command>shutdown</command></term>
[f896e21c]580 <listitem>
[d672ab7]581 <para>Brings the system down in a safe and secure manner, signaling
[6dfcfecc]582 all processes and notifying all logged-in users</para>
[cba2d4e]583 <indexterm zone="ch-system-systemd shutdown">
584 <primary sortas="b-shutdown">shutdown</primary>
[f896e21c]585 </indexterm>
586 </listitem>
587 </varlistentry>
588
[cba2d4e]589 <varlistentry id="systemctl">
590 <term><command>systemctl</command></term>
[f896e21c]591 <listitem>
[6dfcfecc]592 <para>Is used to introspect and control the state of the systemd system
[1118b17]593 and service manager</para>
[cba2d4e]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>
[6dfcfecc]603 <para>Is used to determine system startup performance of the current
604 boot, as well as identify troublesome systemd units</para>
[cba2d4e]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>
[6dfcfecc]614 <para>Is used to query a system password or passphrase from the user,
[1118b17]615 using a question message specified on the command line</para>
[cba2d4e]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>
[6dfcfecc]625 <para>Is used to connect the STDOUT and STDERR outputs of a process
[4c8c128]626 with the systemd journal
[cba2d4e]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>
[1118b17]637 <para>Recursively shows the contents of the selected Linux control
638 group hierarchy in a tree</para>
[cba2d4e]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>
[1118b17]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>
[cba2d4e]650 <indexterm zone="ch-system-systemd systemd-cgtop">
651 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
[662f649]656 <varlistentry id="systemd-creds">
657 <term><command>systemd-creds</command></term>
[d7a9421]658 <listitem>
[9f0a642]659 <para>Displays and processes credentials</para>
[662f649]660 <indexterm zone="ch-system-systemd systemd-creds">
661 <primary sortas="b-systemd-creds">systemd-creds</primary>
[d7a9421]662 </indexterm>
663 </listitem>
664 </varlistentry>
665
[cba2d4e]666 <varlistentry id="systemd-delta">
667 <term><command>systemd-delta</command></term>
668 <listitem>
[6dfcfecc]669 <para>Is used to identify and compare configuration files in
[cba2d4e]670 <filename class="directory">/etc</filename> that override default
[1118b17]671 counterparts in <filename class="directory">/usr</filename></para>
[cba2d4e]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>
[6dfcfecc]681 <para>Detects whether the system is being run in a virtual
[4c8c128]682 environment, and adjusts udev accordingly</para>
[cba2d4e]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
[38de42d]689 <varlistentry id="systemd-dissect">
690 <term><command>systemd-dissect</command></term>
691 <listitem>
[4c8c128]692 <para>Is used to inspect OS disk images</para>
[38de42d]693 <indexterm zone="ch-system-systemd systemd-dissect">
694 <primary sortas="b-systemd-dissect">systemd-dissect</primary>
695 </indexterm>
696 </listitem>
697 </varlistentry>
698
[1118b17]699 <varlistentry id="systemd-escape">
700 <term><command>systemd-escape</command></term>
701 <listitem>
[6dfcfecc]702 <para>Is used to escape strings for inclusion in systemd unit
[1118b17]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>
[6dfcfecc]713 <para>Is used to manage the hardware database (hwdb)</para>
[1118b17]714 <indexterm zone="ch-system-systemd systemd-hwdb">
715 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
[78cc3be]720 <varlistentry id="systemd-id128">
721 <term><command>systemd-id128</command></term>
722 <listitem>
[6dfcfecc]723 <para>Generates and prints id128 strings</para>
[78cc3be]724 <indexterm zone="ch-system-systemd systemd-id128">
725 <primary sortas="b-systemd-id128">systemd-id128</primary>
726 </indexterm>
727 </listitem>
728 </varlistentry>
729
[cba2d4e]730 <varlistentry id="systemd-inhibit">
731 <term><command>systemd-inhibit</command></term>
732 <listitem>
[6dfcfecc]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
[4c8c128]735 until the process is completed</para>
[cba2d4e]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>
[6dfcfecc]745 <para>Is used by system installer tools to initialize the machine ID
[1118b17]746 stored in <filename>/etc/machine-id</filename> at install time with a
747 randomly generated ID</para>
[cba2d4e]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
[13c8b42]754 <varlistentry id="systemd-mount">
755 <term><command>systemd-mount</command></term>
756 <listitem>
[4c8c128]757 <para>Is used to temporarily mount or automount disks</para>
[13c8b42]758 <indexterm zone="ch-system-systemd systemd-mount">
759 <primary sortas="b-systemd-mount">systemd-mount</primary>
760 </indexterm>
761 </listitem>
762 </varlistentry>
763
[cba2d4e]764 <varlistentry id="systemd-notify">
765 <term><command>systemd-notify</command></term>
766 <listitem>
[6dfcfecc]767 <para>Is used by daemon scripts to notify the init system about status
[1118b17]768 changes</para>
[cba2d4e]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>
[6dfcfecc]778 <para>Is used to run a command or OS in a light-weight namespace
[1118b17]779 container</para>
[cba2d4e]780 <indexterm zone="ch-system-systemd systemd-nspawn">
781 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
782 </indexterm>
783 </listitem>
784 </varlistentry>
785
[1118b17]786 <varlistentry id="systemd-path">
787 <term><command>systemd-path</command></term>
788 <listitem>
[6dfcfecc]789 <para>Is used to query system and user paths</para>
[1118b17]790 <indexterm zone="ch-system-systemd systemd-path">
791 <primary sortas="b-systemd-path">systemd-path</primary>
792 </indexterm>
793 </listitem>
794 </varlistentry>
795
[d1fbbd0]796 <varlistentry id="systemd-repart">
797 <term><command>systemd-repart</command></term>
798 <listitem>
[6dfcfecc]799 <para>Is used to grow and add partitions to a partition table when
[4c8c128]800 systemd is used in an OS image (e.g. a container)</para>
[d1fbbd0]801 <indexterm zone="ch-system-systemd systemd-repart">
802 <primary sortas="b-systemd-repart">systemd-repart</primary>
803 </indexterm>
804 </listitem>
805 </varlistentry>
806
[1118b17]807 <varlistentry id="systemd-resolve">
808 <term><command>systemd-resolve</command></term>
809 <listitem>
[6dfcfecc]810 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
[1118b17]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
[cba2d4e]818 <varlistentry id="systemd-run">
819 <term><command>systemd-run</command></term>
820 <listitem>
[6dfcfecc]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
[4c8c128]823 validating systemd units</para>
[cba2d4e]824 <indexterm zone="ch-system-systemd systemd-run">
825 <primary sortas="b-systemd-run">systemd-run</primary>
826 </indexterm>
827 </listitem>
828 </varlistentry>
829
[13c8b42]830 <varlistentry id="systemd-socket-activate">
831 <term><command>systemd-socket-activate</command></term>
832 <listitem>
[6dfcfecc]833 <para>Is used to listen on socket devices and launch a process upon
[4c8c128]834 a successful connection to the socket</para>
[13c8b42]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
[d7a9421]841 <varlistentry id="systemd-sysext">
842 <term><command>systemd-sysext</command></term>
843 <listitem>
[871fd2f]844 <para>Activates system extension images</para>
[d7a9421]845 <indexterm zone="ch-system-systemd systemd-sysext">
846 <primary sortas="b-systemd-sysext">systemd-sysext</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
[cba2d4e]851 <varlistentry id="systemd-tmpfiles">
852 <term><command>systemd-tmpfiles</command></term>
853 <listitem>
[1118b17]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>
[cba2d4e]858 <indexterm zone="ch-system-systemd systemd-tmpfiles">
859 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
[78cc3be]864 <varlistentry id="systemd-umount">
865 <term><command>systemd-umount</command></term>
866 <listitem>
[6dfcfecc]867 <para>Unmounts mount points</para>
[78cc3be]868 <indexterm zone="ch-system-systemd systemd-umount">
869 <primary sortas="b-systemd-umount">systemd-umount</primary>
870 </indexterm>
871 </listitem>
872 </varlistentry>
873
[cba2d4e]874 <varlistentry id="systemd-tty-ask-password-agent">
875 <term><command>systemd-tty-ask-password-agent</command></term>
876 <listitem>
[d672ab7]877 <para>Is used to list and/or process pending systemd password
[6dfcfecc]878 requests</para>
[cba2d4e]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>
[1118b17]888 <para>Tells <command>init</command> which run-level to change
889 to</para>
[cba2d4e]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>
[6dfcfecc]899 <para>Is used to query and change the system clock and its settings
[cba2d4e]900 </para>
901 <indexterm zone="ch-system-systemd timedatectl">
902 <primary sortas="b-timedatectl">timedatectl</primary>
[f896e21c]903 </indexterm>
904 </listitem>
905 </varlistentry>
906
907 <varlistentry id="udevadm">
908 <term><command>udevadm</command></term>
909 <listitem>
[d672ab7]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
[6dfcfecc]913 triggers uevents for a given device</para>
[cba2d4e]914 <indexterm zone="ch-system-systemd udevadm">
[f896e21c]915 <primary sortas="b-udevadm">udevadm</primary>
916 </indexterm>
917 </listitem>
918 </varlistentry>
919
[cba2d4e]920 <varlistentry id="libsystemd">
921 <term><filename class="libraryfile">libsystemd</filename></term>
[f896e21c]922 <listitem>
[6dfcfecc]923 <para>Is the main systemd utility library</para>
[cba2d4e]924 <indexterm zone="ch-system-systemd libsystemd">
925 <primary sortas="c-libsystemd">libsystemd</primary>
[f896e21c]926 </indexterm>
927 </listitem>
928 </varlistentry>
929
930 <varlistentry id="libudev">
931 <term><filename class="libraryfile">libudev</filename></term>
932 <listitem>
[6dfcfecc]933 <para>Is a library to access Udev device information</para>
[cba2d4e]934 <indexterm zone="ch-system-systemd libudev">
[f896e21c]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.