source: chapter08/systemd.xml@ 380fdc0

10.0 10.0-rc1 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 380fdc0 was 380fdc0, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Fix a segfault in systemd-udevd

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

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