source: chapter08/systemd.xml@ 22009fb

10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 ml-11.0 multilib trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since 22009fb was 22009fb, checked in by Douglas R. Reno <renodr@…>, 12 months ago

Update to systemd-247
Update to bc-3.2.3
Update to linux-5.9.12
Incorporate kernel changes from rhubarbpieguy

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

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