source: chapter08/systemd.xml@ 1b11115

11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 1b11115 was 1b11115, checked in by Bruce Dubbs <bdubbs@…>, 21 months ago

Package updates.
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.

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