source: chapter08/systemd.xml@ 1e9ad78

12.0 12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 1e9ad78 was c2ccad1, checked in by Xi Ruoyao <xry111@…>, 11 months ago

systemd: Add two new symlinks into contents

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