source: chapter08/systemd.xml@ ac02a08

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

usr-move: systemd: bye bye split-usr

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