source: chapter08/systemd.xml@ 9eac91e

arm
Last change on this file since 9eac91e was 9eac91e, checked in by William Harrington <kb0iic@…>, 2 years ago

systemd: remove --strip-compoents=1 from man page installation command

systemd-man-pages-250.tar.xz has no additional leading components.

An errata is required.

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