source: chapter08/systemd.xml@ d7e0db5

ml-11.0 multilib
Last change on this file since d7e0db5 was d7e0db5, checked in by Xℹ Ruoyao <xry111@…>, 3 years ago

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12034 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 34.7 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 <!-- - - - - - - - - - -->
226 <!-- Multilib - 32bit -->
227 <!-- - - - - - - - - - -->
228
229 <sect2 arch="ml_32,ml_all" role="installation">
230 <title>Installation of systemd - 32-bit</title>
231
232 <para>Clean previous build:</para>
233
234<screen><userinput remap="pre">rm -rf *</userinput></screen>
235
236 <para>Create a symlink to work around missing xsltproc:</para>
237
238<!-- screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen -->
239<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
240
241<!-- with cross-LFS we have util-linux in place:
242 <para>Because we have not yet installed the final version of Util-Linux,
243 create links to the libraries in the approprite location:</para>
244
245<screen><userinput remap="pre">for file in /tools/lib32/lib{blkid,mount,uuid}*; do
246 ln -sf $file /usr/lib32/
247done</userinput></screen>
248-->
249
250 <para>Prepare systemd for compilation:</para>
251
252 <screen><userinput remap="configure">PKG_CONFIG_PATH="&usr-lib-m32;/pkgconfig" \
253CC="gcc -m32 -march=i686" \
254CXX="g++ -m32 -march=i686" \
255LANG=en_US.UTF-8 \
256meson --prefix=/usr \
257 --sysconfdir=/etc \
258 --localstatedir=/var \
259 -Dblkid=true \
260 -Dbuildtype=release \
261 -Ddefault-dnssec=no \
262 -Dfirstboot=false \
263 -Dinstall-tests=false \
264 -Dkill-path=/bin/kill \
265 -Dkmod-path=/bin/kmod \
266 -Dldconfig=false \
267 -Dmount-path=/bin/mount \
268 -Drootprefix= \
269 -Drootlibdir=&usr-lib-m32; \
270 -Dsplit-usr=true \
271 -Dsulogin-path=/sbin/sulogin \
272 -Dsysusers=false \
273 -Dumount-path=/bin/umount \
274 -Db_lto=false \
275 ..</userinput></screen>
276
277 <para>Compile the package:</para>
278
279<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
280
281 <para>Install the package:</para>
282
283<screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
284cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
285rm -rf DESTDIR
286rm -f /usr/bin/xsltproc</userinput></screen>
287
288 </sect2><!-- m32 -->
289
290 <!-- - - - - - - - - - -->
291 <!-- Multilib - x32bit -->
292 <!-- - - - - - - - - - -->
293
294 <sect2 arch="ml_x32,ml_all" role="installation">
295 <title>Installation of systemd - x32-bit</title>
296
297 <para>Clean previous build:</para>
298
299<screen><userinput remap="pre">rm -rf *</userinput></screen>
300
301 <para>Create a symlink to work around missing xsltproc:</para>
302
303<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
304
305 <para>Fix an issue on x32:</para>
306
307<screen><userinput remap="pre">sed '/log_debug/s@PRI_TIMEX@PRIi64@' -i src/timesync/timesyncd-manager.c
308sed '/long drift_freq;/s@long @int64_t @' -i src/timesync/timesyncd-manager.h</userinput></screen>
309
310 <para>Prepare systemd for compilation:</para>
311
312<screen><userinput remap="configure">PKG_CONFIG_PATH="&usr-lib-mx32;/pkgconfig" \
313CC="gcc -mx32" \
314CXX="g++ -mx32" \
315CFLAGS+="-Wno-error=shift-overflow" \
316CXXFLAGS+="-Wno-error=shift-overflow" \
317LANG=en_US.UTF-8 \
318meson --prefix=/usr \
319 --sysconfdir=/etc \
320 --localstatedir=/var \
321 -Dblkid=true \
322 -Dbuildtype=release \
323 -Ddefault-dnssec=no \
324 -Dfirstboot=false \
325 -Dinstall-tests=false \
326 -Dkill-path=/bin/kill \
327 -Dkmod-path=/bin/kmod \
328 -Dldconfig=false \
329 -Dmount-path=/bin/mount \
330 -Drootprefix= \
331 -Drootlibdir=&usr-lib-mx32; \
332 -Dsplit-usr=true \
333 -Dsulogin-path=/sbin/sulogin \
334 -Dsysusers=false \
335 -Dumount-path=/bin/umount \
336 -Db_lto=false \
337 ..</userinput></screen>
338
339 <para>Compile the package:</para>
340
341<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
342
343 <para>Install the package:</para>
344
345<screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
346cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
347rm -rf DESTDIR
348rm -f /usr/bin/xsltproc</userinput></screen>
349
350 </sect2><!-- mx32 -->
351
352 <sect2 id="contents-systemd" role="content">
353 <title>Contents of systemd</title>
354
355 <segmentedlist>
356 <segtitle>Installed programs</segtitle>
357 <segtitle>Installed libraries</segtitle>
358 <segtitle>Installed directories</segtitle>
359
360 <seglistitem>
361 <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
362 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
363 machinectl, networkctl, portablectl, poweroff (symlink to
364 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
365 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
366 (symlink to systemctl), systemctl, systemd-analyze,
367 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
368 systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
369 systemd-id128, systemd-inhibit, systemd-machine-id-setup,
370 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
371 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
372 systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
373 systemd-tty-ask-password-agent, systemd-umount (symlink to
374 systemd-mount), telinit (symlink to systemctl), timedatectl, and
375 udevadm</seg>
376 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
377 libnss_resolve.so.2, libnss_systemd.so.2,
378 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
379 and libudev.so</seg>
380 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
381 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
382 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
383 /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
384 /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
385 /usr/lib/tmpfiles.d,
386 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
387 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
388 </seglistitem>
389 </segmentedlist>
390
391 <variablelist>
392 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
393 <?dbfo list-presentation="list"?>
394 <?dbhtml list-presentation="table"?>
395
396 <varlistentry id="bootctl">
397 <term><command>bootctl</command></term>
398 <listitem>
399 <para>Is used to query the firmware and boot manager settings</para>
400 <indexterm zone="ch-system-systemd bootctl">
401 <primary sortas="b-bootctl">bootctl</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="busctl">
407 <term><command>busctl</command></term>
408 <listitem>
409 <para>Is used to introspect and monitor the D-Bus bus</para>
410 <indexterm zone="ch-system-systemd busctl">
411 <primary sortas="b-busctl">busctl</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="coredumpctl">
417 <term><command>coredumpctl</command></term>
418 <listitem>
419 <para>Is used to retrieve coredumps from the systemd journal</para>
420 <indexterm zone="ch-system-systemd coredumpctl">
421 <primary sortas="b-coredumpctl">coredumpctl</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry id="halt">
427 <term><command>halt</command></term>
428 <listitem>
429 <para>Normally invokes <command>shutdown</command> with the
430 <parameter>-h</parameter> option, except when already in run-level 0,
431 then it tells the kernel to halt the system; it notes in the
432 file <filename>/var/log/wtmp</filename> that the system is being
433 brought down</para>
434 <indexterm zone="ch-system-systemd halt">
435 <primary sortas="b-halt">halt</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="hostnamectl">
441 <term><command>hostnamectl</command></term>
442 <listitem>
443 <para>Is used to query and change the system hostname and related
444 settings</para>
445 <indexterm zone="ch-system-systemd hostnamectl">
446 <primary sortas="b-hostnamectl">hostnamectl</primary>
447 </indexterm>
448 </listitem>
449 </varlistentry>
450
451 <varlistentry id="init">
452 <term><command>init</command></term>
453 <listitem>
454 <para>Is the first process to be started when the kernel has initialized
455 the hardware which takes over the boot process and starts all
456 processes according to its configuration files. In this case, it starts
457 systemd.</para>
458 <indexterm zone="ch-system-systemd init">
459 <primary sortas="b-init">init</primary>
460 </indexterm>
461 </listitem>
462 </varlistentry>
463
464 <varlistentry id="journalctl">
465 <term><command>journalctl</command></term>
466 <listitem>
467 <para>Is used to query the contents of the systemd journal</para>
468 <indexterm zone="ch-system-systemd journalctl">
469 <primary sortas="b-journalctl">journalctl</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="kernel-install">
475 <term><command>kernel-install</command></term>
476 <listitem>
477 <para>Is used to add and remove kernel and initramfs images to and
478 from /boot. In LFS, this is done manually.</para>
479 <indexterm zone="ch-system-systemd kernel-install">
480 <primary sortas="b-kernel-install">kernel-install</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="localectl">
486 <term><command>localectl</command></term>
487 <listitem>
488 <para>Is used to query and change the system locale and keyboard layout
489 settings</para>
490 <indexterm zone="ch-system-systemd localectl">
491 <primary sortas="b-localectl">localectl</primary>
492 </indexterm>
493 </listitem>
494 </varlistentry>
495
496 <varlistentry id="loginctl">
497 <term><command>loginctl</command></term>
498 <listitem>
499 <para>Is used to introspect and control the state of the systemd Login
500 Manager</para>
501 <indexterm zone="ch-system-systemd loginctl">
502 <primary sortas="b-loginctl">loginctl</primary>
503 </indexterm>
504 </listitem>
505 </varlistentry>
506
507 <varlistentry id="machinectl">
508 <term><command>machinectl</command></term>
509 <listitem>
510 <para>Is used to introspect and control the state of the systemd Virtual
511 Machine and Container Registration Manager</para>
512 <indexterm zone="ch-system-systemd machinectl">
513 <primary sortas="b-machinectl">machinectl</primary>
514 </indexterm>
515 </listitem>
516 </varlistentry>
517
518 <varlistentry id="networkctl">
519 <term><command>networkctl</command></term>
520 <listitem>
521 <para>Is used to introspect and configure the state of the network
522 links configured by systemd-networkd</para>
523 <indexterm zone="ch-system-systemd networkctl">
524 <primary sortas="b-networkctl">networkctl</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
529 <varlistentry id="portablectl">
530 <term><command>portablectl</command></term>
531 <listitem>
532 <para>Is used to attach or detach portable services from the local
533 system</para>
534 <indexterm zone="ch-system-systemd portablectl">
535 <primary sortas="b-portablectl">portablectl</primary>
536 </indexterm>
537 </listitem>
538 </varlistentry>
539
540 <varlistentry id="poweroff">
541 <term><command>poweroff</command></term>
542 <listitem>
543 <para>Instructs the kernel to halt the system and switch off the computer
544 (see <command>halt</command>)</para>
545 <indexterm zone="ch-system-systemd poweroff">
546 <primary sortas="b-poweroff">poweroff</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
550
551 <varlistentry id="reboot">
552 <term><command>reboot</command></term>
553 <listitem>
554 <para>Instructs the kernel to reboot the system (see
555 <command>halt</command>)</para>
556 <indexterm zone="ch-system-systemd reboot">
557 <primary sortas="b-reboot">reboot</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
562 <varlistentry id="resolvconf">
563 <term><command>resolvconf</command></term>
564 <listitem>
565 <para>Registers DNS server and domain configuration with
566 <command>systemd-resolved</command></para>
567 <indexterm zone="ch-system-systemd resolvconf">
568 <primary sortas="b-resolvconf">resolvconf</primary>
569 </indexterm>
570 </listitem>
571 </varlistentry>
572
573 <varlistentry id="resolvectl">
574 <term><command>resolvectl</command></term>
575 <listitem>
576 <para>Sends control commands to the network name resolution
577 manager, or resolves domain names, IPv4 and IPv6 addresses,
578 DNS records, and services.</para>
579 <indexterm zone="ch-system-systemd resolvectl">
580 <primary sortas="b-resolvectl">resolvectl</primary>
581 </indexterm>
582 </listitem>
583 </varlistentry>
584
585 <varlistentry id="runlevel">
586 <term><command>runlevel</command></term>
587 <listitem>
588 <para>Outputs the previous and the current run-level, as noted in the
589 last run-level record in <filename>/var/run/utmp</filename></para>
590 <indexterm zone="ch-system-systemd runlevel">
591 <primary sortas="b-runlevel">runlevel</primary>
592 </indexterm>
593 </listitem>
594 </varlistentry>
595
596 <varlistentry id="shutdown">
597 <term><command>shutdown</command></term>
598 <listitem>
599 <para>Brings the system down in a safe and secure manner, signaling
600 all processes and notifying all logged-in users</para>
601 <indexterm zone="ch-system-systemd shutdown">
602 <primary sortas="b-shutdown">shutdown</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
607 <varlistentry id="systemctl">
608 <term><command>systemctl</command></term>
609 <listitem>
610 <para>Is used to introspect and control the state of the systemd system
611 and service manager</para>
612 <indexterm zone="ch-system-systemd systemctl">
613 <primary sortas="b-systemctl">systemctl</primary>
614 </indexterm>
615 </listitem>
616 </varlistentry>
617
618 <varlistentry id="systemd-analyze">
619 <term><command>systemd-analyze</command></term>
620 <listitem>
621 <para>Is used to determine system startup performance of the current
622 boot, as well as identify troublesome systemd units</para>
623 <indexterm zone="ch-system-systemd systemd-analyze">
624 <primary sortas="b-systemd-analyze">systemd-analyze</primary>
625 </indexterm>
626 </listitem>
627 </varlistentry>
628
629 <varlistentry id="systemd-ask-password">
630 <term><command>systemd-ask-password</command></term>
631 <listitem>
632 <para>Is used to query a system password or passphrase from the user,
633 using a question message specified on the command line</para>
634 <indexterm zone="ch-system-systemd systemd-ask-password">
635 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
636 </indexterm>
637 </listitem>
638 </varlistentry>
639
640 <varlistentry id="systemd-cat">
641 <term><command>systemd-cat</command></term>
642 <listitem>
643 <para>Is used to connect the STDOUT and STDERR outputs of a process
644 with the systemd journal.
645 </para>
646 <indexterm zone="ch-system-systemd systemd-cat">
647 <primary sortas="b-systemd-cat">systemd-cat</primary>
648 </indexterm>
649 </listitem>
650 </varlistentry>
651
652 <varlistentry id="systemd-cgls">
653 <term><command>systemd-cgls</command></term>
654 <listitem>
655 <para>Recursively shows the contents of the selected Linux control
656 group hierarchy in a tree</para>
657 <indexterm zone="ch-system-systemd systemd-cgls">
658 <primary sortas="b-systemd-cgls">systemd-cgls</primary>
659 </indexterm>
660 </listitem>
661 </varlistentry>
662
663 <varlistentry id="systemd-cgtop">
664 <term><command>systemd-cgtop</command></term>
665 <listitem>
666 <para>Shows the top control groups of the local Linux control group
667 hierarchy, ordered by their CPU, memory and disk I/O load</para>
668 <indexterm zone="ch-system-systemd systemd-cgtop">
669 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
670 </indexterm>
671 </listitem>
672 </varlistentry>
673
674 <varlistentry id="systemd-delta">
675 <term><command>systemd-delta</command></term>
676 <listitem>
677 <para>Is used to identify and compare configuration files in
678 <filename class="directory">/etc</filename> that override default
679 counterparts in <filename class="directory">/usr</filename></para>
680 <indexterm zone="ch-system-systemd systemd-delta">
681 <primary sortas="b-systemd-delta">systemd-delta</primary>
682 </indexterm>
683 </listitem>
684 </varlistentry>
685
686 <varlistentry id="systemd-detect-virt">
687 <term><command>systemd-detect-virt</command></term>
688 <listitem>
689 <para>Detects whether the system is being run in a virtual
690 environment, and adjusts udev accordingly.</para>
691 <indexterm zone="ch-system-systemd systemd-detect-virt">
692 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
693 </indexterm>
694 </listitem>
695 </varlistentry>
696
697 <varlistentry id="systemd-escape">
698 <term><command>systemd-escape</command></term>
699 <listitem>
700 <para>Is used to escape strings for inclusion in systemd unit
701 names</para>
702 <indexterm zone="ch-system-systemd systemd-escape">
703 <primary sortas="b-systemd-escape">systemd-escape</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
708 <varlistentry id="systemd-hwdb">
709 <term><command>systemd-hwdb</command></term>
710 <listitem>
711 <para>Is used to manage the hardware database (hwdb)</para>
712 <indexterm zone="ch-system-systemd systemd-hwdb">
713 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
714 </indexterm>
715 </listitem>
716 </varlistentry>
717
718 <varlistentry id="systemd-id128">
719 <term><command>systemd-id128</command></term>
720 <listitem>
721 <para>Generates and prints id128 strings</para>
722 <indexterm zone="ch-system-systemd systemd-id128">
723 <primary sortas="b-systemd-id128">systemd-id128</primary>
724 </indexterm>
725 </listitem>
726 </varlistentry>
727
728 <varlistentry id="systemd-inhibit">
729 <term><command>systemd-inhibit</command></term>
730 <listitem>
731 <para>Is used to execute a program with a shutdown, sleep or idle
732 inhibitor lock taken, preventing an action such as a system shutdown
733 until the process is completed.</para>
734 <indexterm zone="ch-system-systemd systemd-inhibit">
735 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
736 </indexterm>
737 </listitem>
738 </varlistentry>
739
740 <varlistentry id="systemd-machine-id-setup">
741 <term><command>systemd-machine-id-setup</command></term>
742 <listitem>
743 <para>Is used by system installer tools to initialize the machine ID
744 stored in <filename>/etc/machine-id</filename> at install time with a
745 randomly generated ID</para>
746 <indexterm zone="ch-system-systemd systemd-machine-id-setup">
747 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
748 </indexterm>
749 </listitem>
750 </varlistentry>
751
752 <varlistentry id="systemd-mount">
753 <term><command>systemd-mount</command></term>
754 <listitem>
755 <para>Is used to temporarily mount or automount disks.</para>
756 <indexterm zone="ch-system-systemd systemd-mount">
757 <primary sortas="b-systemd-mount">systemd-mount</primary>
758 </indexterm>
759 </listitem>
760 </varlistentry>
761
762 <varlistentry id="systemd-notify">
763 <term><command>systemd-notify</command></term>
764 <listitem>
765 <para>Is used by daemon scripts to notify the init system about status
766 changes</para>
767 <indexterm zone="ch-system-systemd systemd-notify">
768 <primary sortas="b-systemd-notify">systemd-notify</primary>
769 </indexterm>
770 </listitem>
771 </varlistentry>
772
773 <varlistentry id="systemd-nspawn">
774 <term><command>systemd-nspawn</command></term>
775 <listitem>
776 <para>Is used to run a command or OS in a light-weight namespace
777 container</para>
778 <indexterm zone="ch-system-systemd systemd-nspawn">
779 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
780 </indexterm>
781 </listitem>
782 </varlistentry>
783
784 <varlistentry id="systemd-path">
785 <term><command>systemd-path</command></term>
786 <listitem>
787 <para>Is used to query system and user paths</para>
788 <indexterm zone="ch-system-systemd systemd-path">
789 <primary sortas="b-systemd-path">systemd-path</primary>
790 </indexterm>
791 </listitem>
792 </varlistentry>
793
794 <varlistentry id="systemd-repart">
795 <term><command>systemd-repart</command></term>
796 <listitem>
797 <para>Is used to grow and add partitions to a partition table when
798 systemd is used in an OS image (e.g. a container).</para>
799 <indexterm zone="ch-system-systemd systemd-repart">
800 <primary sortas="b-systemd-repart">systemd-repart</primary>
801 </indexterm>
802 </listitem>
803 </varlistentry>
804
805 <varlistentry id="systemd-resolve">
806 <term><command>systemd-resolve</command></term>
807 <listitem>
808 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
809 resource records, and services</para>
810 <indexterm zone="ch-system-systemd systemd-resolve">
811 <primary sortas="b-systemd-resolve">systemd-resolve</primary>
812 </indexterm>
813 </listitem>
814 </varlistentry>
815
816 <varlistentry id="systemd-run">
817 <term><command>systemd-run</command></term>
818 <listitem>
819 <para>Is used to create and start a transient .service or a .scope
820 unit and run the specified command in it. This is useful for
821 validating systemd units.</para>
822 <indexterm zone="ch-system-systemd systemd-run">
823 <primary sortas="b-systemd-run">systemd-run</primary>
824 </indexterm>
825 </listitem>
826 </varlistentry>
827
828 <varlistentry id="systemd-socket-activate">
829 <term><command>systemd-socket-activate</command></term>
830 <listitem>
831 <para>Is used to listen on socket devices and launch a process upon
832 a successful connection to the socket.</para>
833 <indexterm zone="ch-system-systemd systemd-socket-activate">
834 <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
835 </indexterm>
836 </listitem>
837 </varlistentry>
838
839 <varlistentry id="systemd-tmpfiles">
840 <term><command>systemd-tmpfiles</command></term>
841 <listitem>
842 <para>Creates, deletes and cleans up volatile and temporary files and
843 directories, based on the configuration file format and location
844 specified in
845 <filename class="directory">tmpfiles.d</filename> directories</para>
846 <indexterm zone="ch-system-systemd systemd-tmpfiles">
847 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 <varlistentry id="systemd-umount">
853 <term><command>systemd-umount</command></term>
854 <listitem>
855 <para>Unmounts mount points</para>
856 <indexterm zone="ch-system-systemd systemd-umount">
857 <primary sortas="b-systemd-umount">systemd-umount</primary>
858 </indexterm>
859 </listitem>
860 </varlistentry>
861
862 <varlistentry id="systemd-tty-ask-password-agent">
863 <term><command>systemd-tty-ask-password-agent</command></term>
864 <listitem>
865 <para>Is used to list and/or process pending systemd password
866 requests</para>
867 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
868 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
869 </indexterm>
870 </listitem>
871 </varlistentry>
872
873 <varlistentry id="telinit">
874 <term><command>telinit</command></term>
875 <listitem>
876 <para>Tells <command>init</command> which run-level to change
877 to</para>
878 <indexterm zone="ch-system-systemd telinit">
879 <primary sortas="b-telinit">telinit</primary>
880 </indexterm>
881 </listitem>
882 </varlistentry>
883
884 <varlistentry id="timedatectl">
885 <term><command>timedatectl</command></term>
886 <listitem>
887 <para>Is used to query and change the system clock and its settings
888 </para>
889 <indexterm zone="ch-system-systemd timedatectl">
890 <primary sortas="b-timedatectl">timedatectl</primary>
891 </indexterm>
892 </listitem>
893 </varlistentry>
894
895 <varlistentry id="udevadm">
896 <term><command>udevadm</command></term>
897 <listitem>
898 <para>Is a generic udev administration tool which controls the udevd
899 daemon, provides info from the Udev hardware database, monitors
900 uevents, waits for uevents to finish, tests udev configuration, and
901 triggers uevents for a given device</para>
902 <indexterm zone="ch-system-systemd udevadm">
903 <primary sortas="b-udevadm">udevadm</primary>
904 </indexterm>
905 </listitem>
906 </varlistentry>
907
908 <varlistentry id="libsystemd">
909 <term><filename class="libraryfile">libsystemd</filename></term>
910 <listitem>
911 <para>Is the main systemd utility library</para>
912 <indexterm zone="ch-system-systemd libsystemd">
913 <primary sortas="c-libsystemd">libsystemd</primary>
914 </indexterm>
915 </listitem>
916 </varlistentry>
917
918 <varlistentry id="libudev">
919 <term><filename class="libraryfile">libudev</filename></term>
920 <listitem>
921 <para>Is a library to access Udev device information</para>
922 <indexterm zone="ch-system-systemd libudev">
923 <primary sortas="c-libudev">libudev</primary>
924 </indexterm>
925 </listitem>
926 </varlistentry>
927
928 </variablelist>
929
930 </sect2>
931
932</sect1>
Note: See TracBrowser for help on using the repository browser.