source: chapter08/systemd.xml@ 99c2da0

12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 bdubbs/gcc13 multilib renodr/libudev-from-systemd trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/update-glibc
Last change on this file since 99c2da0 was 2efe1e8, checked in by Xi Ruoyao <xry111@…>, 19 months ago

systemd: Document systemd-ac-power

It has been moved to /usr/bin for general use by upstream, so list it in
programs.

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