source: chapter08/systemd.xml@ 1446892

10.0 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 1446892 was 1446892, checked in by Xi Ruoyao <xry111@…>, 16 months ago

systemd: install into versioned directory

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

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