source: chapter08/systemd.xml@ cc462f9

xry111/usr-move
Last change on this file since cc462f9 was cc462f9, checked in by Xi Ruoyao <xry111@…>, 9 months ago

usr-move: add --libdir for systemd, to prevent it from using lib64

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