source: chapter06/systemd.xml@ effe07a

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 effe07a was effe07a, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix circular deps between util-linux and eudev/systemd:

  • build util-linux in chapter 5 for both books
  • move eudev before util-linux in chapter 6
  • make utils-linux libs and headers accessible to /usr in "Creating essential ..."
  • not related, but forgotten at previous commit: make also libfl flex library accessible to /usr

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

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