source: chapter08/systemd.xml@ 219e404

multilib
Last change on this file since 219e404 was 219e404, checked in by Thomas Trepl <thomas@…>, 16 months ago

Automatic merge of trunk into multilib

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