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 ml-11.0 multilib old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since f878deb was f878deb, checked in by Pierre Labastie <pieere@…>, 19 months 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
Line 
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
8<sect1 id="ch-system-systemd" role="wrap" revision="systemd">
9 <?dbhtml filename="systemd.html"?>
10
11 <sect1info condition="script">
12 <productname>systemd</productname>
13 <productnumber>&systemd-version;</productnumber>
14 <address>&systemd-url;</address>
15 </sect1info>
16
17 <title>Systemd-&systemd-version;</title>
18
19 <indexterm zone="ch-system-systemd">
20 <primary sortas="a-systemd">systemd</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The systemd package contains programs for controlling the startup,
27 running, and shutdown of the system.</para>
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">
41 <title>Installation of systemd</title>
42<!--
43 <para>First, apply a patch to fix various bugs since the release
44 of systemd-243.</para>
45
46<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-consolidated_fixes-2.patch</userinput></screen>
47-->
48
49 <para>Create a symlink to work around missing xsltproc:</para>
50
51<screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen>
52
53 <para>Set up the man pages:</para>
54
55<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
56
57 <para>Remove tests that cannot be built in chroot:</para>
58
59<screen><userinput remap="pre">sed '179,$ d' -i src/resolve/meson.build</userinput></screen>
60
61 <para>Remove an unneeded group,
62 <systemitem class="groupname">render</systemitem>, from the default udev
63 rules:</para>
64
65<screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules.d/50-udev-default.rules.in</userinput></screen>
66
67 <para>Prepare systemd for compilation:</para>
68
69<screen><userinput remap="configure">mkdir -p build
70cd build
71
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 \
96 ..</userinput></screen>
97
98 <variablelist>
99 <title>The meaning of the meson options:</title>
100
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
111 <varlistentry>
112 <term><parameter>-D*-path=*</parameter></term>
113 <listitem>
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>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry>
122 <term><parameter>-Ddefault-dnssec=no</parameter></term>
123 <listitem>
124 <para>This switch turns off the experimental DNSSEC support.</para>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry>
129 <term><parameter>-Dfirstboot=false</parameter></term>
130 <listitem>
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>
135 </listitem>
136 </varlistentry>
137
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
145 <varlistentry>
146 <term><parameter>-Dldconfig=false</parameter></term>
147 <listitem>
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>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry>
156 <term><parameter>-Droot*</parameter></term>
157 <listitem>
158 <para>These switches ensure that core programs and
159 shared libraries are installed in the subdirectories
160 of the root partition.</para>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry>
165 <term><parameter>-Dsplit-usr=true</parameter></term>
166 <listitem>
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>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry>
174 <term><parameter>-Dsysusers=false</parameter></term>
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
180 were created earlier in this chapter.</para>
181 </listitem>
182 </varlistentry>
183
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>
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
200 </variablelist>
201
202 <para>Compile the package:</para>
203
204<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
205<!--
206 <para>To test the package, execute the following command:</para>
207
208<screen><userinput remap="test">LANG=en_US.UTF-8 ninja test</userinput></screen>
209-->
210 <para>Install the package:</para>
211
212<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
213
214 <para>Remove an unnecessary symbolic link:</para>
215
216<screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
217
218 <para>Create the <filename>/etc/machine-id</filename> file needed by
219 <command>systemd-journald</command>:</para>
220
221<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
222
223 <para>Setup the basic target structure:</para>
224
225<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
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>
236
237
238<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
239
240 <!--
241 <para>Prevent systemd from creating <filename>/run/nologin</filename>
242 to allow unprivileged user logins without
243 <application>systemd-logind</application>:</para>
244
245<screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
246 -->
247 </sect2>
248
249 <sect2 id="contents-systemd" role="content">
250 <title>Contents of systemd</title>
251
252 <segmentedlist>
253 <segtitle>Installed programs</segtitle>
254 <segtitle>Installed libraries</segtitle>
255 <segtitle>Installed directories</segtitle>
256
257 <seglistitem>
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,
264 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
265 systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
266 systemd-id128, systemd-inhibit, systemd-machine-id-setup,
267 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
268 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
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>
273 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
274 libnss_resolve.so.2, libnss_systemd.so.2,
275 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
276 and libudev.so</seg>
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,
282 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
283 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
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
292 <varlistentry id="bootctl">
293 <term><command>bootctl</command></term>
294 <listitem>
295 <para>Used to query the firmware and boot manager settings</para>
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>
305 <para>Used to introspect and monitor the D-Bus bus</para>
306 <indexterm zone="ch-system-systemd busctl">
307 <primary sortas="b-busctl">busctl</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="coredumpctl">
313 <term><command>coredumpctl</command></term>
314 <listitem>
315 <para>Used to retrieve coredumps from the systemd journal</para>
316 <indexterm zone="ch-system-systemd coredumpctl">
317 <primary sortas="b-coredumpctl">coredumpctl</primary>
318 </indexterm>
319 </listitem>
320 </varlistentry>
321
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
329 brought down</para>
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>
339 <para>Used to query and change the system hostname and related
340 settings</para>
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
351 the hardware which takes over the boot process and starts all
352 processes according to its configuration files</para>
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>
362 <para>Used to query the contents of the systemd journal</para>
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>
372 <para>Used to add and remove kernel and initramfs images to and
373 from /boot</para>
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>
383 <para>Used to query and change the system locale and keyboard layout
384 settings</para>
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>
394 <para>Used to introspect and control the state of the systemd Login
395 Manager</para>
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>
405 <para>Used to introspect and control the state of the systemd Virtual
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
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
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
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
439 (see <command>halt</command>)</para>
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>
448 <listitem>
449 <para>Tells the kernel to reboot the system (see
450 <command>halt</command>)</para>
451 <indexterm zone="ch-system-systemd reboot">
452 <primary sortas="b-reboot">reboot</primary>
453 </indexterm>
454 </listitem>
455 </varlistentry>
456
457 <varlistentry id="resolvconf">
458 <term><command>resolvconf</command></term>
459 <listitem>
460 <para>Register DNS server and domain configuration with
461 <command>systemd-resolved</command></para>
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
480 <varlistentry id="runlevel">
481 <term><command>runlevel</command></term>
482 <listitem>
483 <para>Reports the previous and the current run-level, as noted in the
484 last run-level record in <filename>/var/run/utmp</filename></para>
485 <indexterm zone="ch-system-systemd runlevel">
486 <primary sortas="b-runlevel">runlevel</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 <varlistentry id="shutdown">
492 <term><command>shutdown</command></term>
493 <listitem>
494 <para>Brings the system down in a secure way, signaling all processes
495 and notifying all logged-in users</para>
496 <indexterm zone="ch-system-systemd shutdown">
497 <primary sortas="b-shutdown">shutdown</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="systemctl">
503 <term><command>systemctl</command></term>
504 <listitem>
505 <para>Used to introspect and control the state of the systemd system
506 and service manager</para>
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>
516 <para>Used to determine system boot-up performance of the current
517 boot</para>
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>
527 <para>Used to query a system password or passphrase from the user,
528 using a question message specified on the command line</para>
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>
538 <para>Used to connect STDOUT and STDERR of a process with the Journal
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>
549 <para>Recursively shows the contents of the selected Linux control
550 group hierarchy in a tree</para>
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>
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>
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>
571 <para>Used to identify and compare configuration files in
572 <filename class="directory">/etc</filename> that override default
573 counterparts in <filename class="directory">/usr</filename></para>
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>
583 <para>Detects execution in a virtualized environment</para>
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
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
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
621 <varlistentry id="systemd-inhibit">
622 <term><command>systemd-inhibit</command></term>
623 <listitem>
624 <para>Used to execute a program with a shutdown, sleep or idle
625 inhibitor lock taken</para>
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>
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>
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
644 <varlistentry id="systemd-mount">
645 <term><command>systemd-mount</command></term>
646 <listitem>
647 <para>A tool to temporarily mount or auto-mount a drive.</para>
648 <indexterm zone="ch-system-systemd systemd-mount">
649 <primary sortas="b-systemd-mount">systemd-mount</primary>
650 </indexterm>
651 </listitem>
652 </varlistentry>
653
654 <varlistentry id="systemd-notify">
655 <term><command>systemd-notify</command></term>
656 <listitem>
657 <para>Used by daemon scripts to notify the init system about status
658 changes</para>
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>
668 <para>Used to run a command or OS in a light-weight namespace
669 container</para>
670 <indexterm zone="ch-system-systemd systemd-nspawn">
671 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
672 </indexterm>
673 </listitem>
674 </varlistentry>
675
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
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
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
708 <varlistentry id="systemd-run">
709 <term><command>systemd-run</command></term>
710 <listitem>
711 <para>Used to create and start a transient .service or a .scope unit
712 and run the specified command in it</para>
713 <indexterm zone="ch-system-systemd systemd-run">
714 <primary sortas="b-systemd-run">systemd-run</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
719 <!-- <varlistentry id="systemd-stdio-bridge">
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
729 <varlistentry id="systemd-socket-activate">
730 <term><command>systemd-socket-activate</command></term>
731 <listitem>
732 <para>A tool to listen on socket devices and launch a process upon
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
740 <varlistentry id="systemd-tmpfiles">
741 <term><command>systemd-tmpfiles</command></term>
742 <listitem>
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>
747 <indexterm zone="ch-system-systemd systemd-tmpfiles">
748 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
749 </indexterm>
750 </listitem>
751 </varlistentry>
752
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
763 <varlistentry id="systemd-tty-ask-password-agent">
764 <term><command>systemd-tty-ask-password-agent</command></term>
765 <listitem>
766 <para>Used to list or process pending systemd password requests</para>
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>
776 <para>Tells <command>init</command> which run-level to change
777 to</para>
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>
787 <para>Used to query and change the system clock and its settings
788 </para>
789 <indexterm zone="ch-system-systemd timedatectl">
790 <primary sortas="b-timedatectl">timedatectl</primary>
791 </indexterm>
792 </listitem>
793 </varlistentry>
794
795 <varlistentry id="udevadm">
796 <term><command>udevadm</command></term>
797 <listitem>
798 <para>Generic udev administration tool: controls the udevd daemon,
799 provides info from the Udev database, monitors uevents, waits for
800 uevents to finish, tests udev configuration, and triggers uevents
801 for a given device</para>
802 <indexterm zone="ch-system-systemd udevadm">
803 <primary sortas="b-udevadm">udevadm</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
808 <varlistentry id="libsystemd">
809 <term><filename class="libraryfile">libsystemd</filename></term>
810 <listitem>
811 <para>The main systemd utility library</para>
812 <indexterm zone="ch-system-systemd libsystemd">
813 <primary sortas="c-libsystemd">libsystemd</primary>
814 </indexterm>
815 </listitem>
816 </varlistentry>
817
818 <varlistentry id="libudev">
819 <term><filename class="libraryfile">libudev</filename></term>
820 <listitem>
821 <para>A library to access Udev device information</para>
822 <indexterm zone="ch-system-systemd libudev">
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.