source: chapter06/systemd.xml@ 73b3eb9

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 8.2 8.3 8.4 9.0 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 73b3eb9 was 73b3eb9, checked in by DJ Lucas <dj@…>, 6 years ago

Update to systemd-237. Fixes #4203.
Update to linux-4.15. Fixes #4202.
Update to ncurses-6.1. Fixes #4201.

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

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