source: chapter08/systemd.xml@ 73805590

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

systemd: Disable systemd-sysupdate with a better way

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