source: chapter08/systemd.xml@ 95fc772

12.1 12.1-rc1 multilib trunk xry111/arm64 xry111/clfs-ng xry111/loongarch xry111/loongarch-12.1 xry111/mips64el xry111/update-glibc
Last change on this file since 95fc772 was 73805590, checked in by Xi Ruoyao <xry111@…>, 6 months ago

systemd: Disable systemd-sysupdate with a better way

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