source: chapter08/systemd.xml@ 7c1fce4e

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

usr-move: change references to /lib/{udev,systemd} to their /usr counterparts

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