source: chapter08/systemd.xml@ e7eaa1e

xry111/loongarch xry111/loongarch-12.2
Last change on this file since e7eaa1e was 479d3bc, checked in by Xi Ruoyao <xry111@…>, 7 weeks ago

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

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