source: chapter08/systemd.xml@ 99ee345

11.0 11.0-rc1 11.0-rc2 11.0-rc3 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 ml-11.0 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 99ee345 was 99ee345, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Patch systemd to build with meson-0.57.2 and Linux-API-Headers-5.11.14
and higher.

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