source: chapter06/systemd.xml@ f18ed3d

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 9.1 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 f18ed3d was f18ed3d, checked in by Douglas R. Reno <renodr@…>, 4 years ago

systemd: remove obsolete installation commands (obsolete since 244 was released)

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

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