source: chapter08/systemd.xml@ b4008bb

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 s6-init 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 b4008bb was b4008bb, checked in by Xi Ruoyao <xry111@…>, 2 years ago

update to systemd-251 (#5064)

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