source: chapter08/systemd.xml@ 69c4524

11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next 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 69c4524 was 69c4524, checked in by Xi Ruoyao <xry111@…>, 2 years ago

systemd: remove unneeded LANG=en_US.UTF-8 settings

They were added because ninja had printed warnings about "non UTF-8
locale". Current version of ninja no longer does this.

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