source: chapter08/systemd.xml@ 8e65db25

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

usr-move: systemd: remove useless options

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