source: chapter08/systemd.xml@ a815ec7

10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since a815ec7 was a815ec7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

ch08/systemd: sync with BLFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12128 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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