source: chapter06/systemd.xml@ f878deb

10.0 10.0-rc1 10.1 10.1-rc1 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 f878deb was f878deb, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix building systemd with GCC 10

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11843 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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