source: chapter08/systemd.xml@ e46c54d

xry111/loongarch xry111/loongarch-12.2
Last change on this file since e46c54d was ec36fac, checked in by Xi Ruoyao <xry111@…>, 7 months ago

Merge remote-tracking branch 'origin/trunk' into xry111/loongarch

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