source: chapter06/systemd.xml@ f573e24

multilib-10.1
Last change on this file since f573e24 was f573e24, checked in by Thomas Trepl <thomas@…>, 4 years ago

MultiLib: Merge changes from trunk

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

  • Property mode set to 100644
File size: 36.0 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 -Dc_args=-Wno-format-overflow \
77 -Dblkid=true \
78 -Dbuildtype=release \
79 -Ddefault-dnssec=no \
80 -Dfirstboot=false \
81 -Dinstall-tests=false \
82 -Dkmod-path=/bin/kmod \
83 -Dldconfig=false \
84 -Dmount-path=/bin/mount \
85 -Drootprefix= \
86 -Drootlibdir=/lib \
87 -Dsplit-usr=true \
88 -Dsulogin-path=/sbin/sulogin \
89 -Dsysusers=false \
90 -Dumount-path=/bin/umount \
91 -Db_lto=false \
92 -Drpmmacrosdir=no \
93 -Dhomed=false \
94 -Duserdb=false \
95 -Dman=true \
96 ..</userinput></screen>
97
98 <variablelist>
99 <title>The meaning of the meson options:</title>
100
101 <varlistentry>
102 <term><parameter>-Dc_args=-Wno-format-overflow</parameter></term>
103 <listitem>
104 <para>The defaults flags passed to gcc contain
105 <parameter>-Werror=format-overflow</parameter>, which generates
106 an error with GCC 10. Passing this parameter prevents the error
107 from occuring.</para>
108 </listitem>
109 </varlistentry>
110
111 <varlistentry>
112 <term><parameter>-D*-path=*</parameter></term>
113 <listitem>
114 <para>These switches provide location of binaries needed by
115 systemd at runtime that have not yet been installed, or who's
116 pkgconfig files are currently only in
117 <filename>/tools/lib/pkgconfig</filename>.</para>
118 </listitem>
119 </varlistentry>
120
121 <varlistentry>
122 <term><parameter>-Ddefault-dnssec=no</parameter></term>
123 <listitem>
124 <para>This switch turns off the experimental DNSSEC support.</para>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry>
129 <term><parameter>-Dfirstboot=false</parameter></term>
130 <listitem>
131 <para>This switch prevents installation of systemd
132 services responsible for setting up the system for
133 the first time. They are not useful for LFS because
134 everything is done manually.</para>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry>
139 <term><parameter>-Dinstall-tests=false</parameter></term>
140 <listitem>
141 <para>This switch prevents installation of the compiled tests.</para>
142 </listitem>
143 </varlistentry>
144
145 <varlistentry>
146 <term><parameter>-Dldconfig=false</parameter></term>
147 <listitem>
148 <para>This switch prevents installation of a systemd unit that runs
149 <command>ldconfig</command> at boot, which is not useful for source
150 distributions such as LFS and makes the boot time longer. Remove it
151 if the described feature is desired.</para>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry>
156 <term><parameter>-Droot*</parameter></term>
157 <listitem>
158 <para>These switches ensure that core programs and
159 shared libraries are installed in the subdirectories
160 of the root partition.</para>
161 </listitem>
162 </varlistentry>
163
164 <varlistentry>
165 <term><parameter>-Dsplit-usr=true</parameter></term>
166 <listitem>
167 <para>This switch ensures that systemd will work on
168 systems where /bin, /lib and /sbin directories are not
169 symlinks to their /usr counterparts.</para>
170 </listitem>
171 </varlistentry>
172
173 <varlistentry>
174 <term><parameter>-Dsysusers=false</parameter></term>
175 <listitem>
176 <para>This switch prevents installation of systemd
177 services responsible for setting up the
178 <filename>/etc/group</filename> and
179 <filename>/etc/passwd</filename> files. Both files
180 were created earlier in this chapter.</para>
181 </listitem>
182 </varlistentry>
183
184 <varlistentry>
185 <term><parameter>-Drpmmacrosdir=no</parameter></term>
186 <listitem>
187 <para>This switch disables installation of RPM Macros
188 for use with systemd because LFS does not support RPM.</para>
189 </listitem>
190 </varlistentry>
191
192 <varlistentry>
193 <term><parameter>-D{userdb,homed}=false</parameter></term>
194 <listitem>
195 <para>Remove two daemons that have dependencies that do not fit
196 the scope of LFS.</para>
197 </listitem>
198 </varlistentry>
199
200 </variablelist>
201
202 <para>Compile the package:</para>
203
204<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
205<!--
206 <para>To test the package, execute the following command:</para>
207
208<screen><userinput remap="test">LANG=en_US.UTF-8 ninja test</userinput></screen>
209-->
210 <para>Install the package:</para>
211
212<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
213
214 <para>Remove an unnecessary symbolic link:</para>
215
216<screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
217
218 <para>Create the <filename>/etc/machine-id</filename> file needed by
219 <command>systemd-journald</command>:</para>
220
221<screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
222
223 <para>Setup the basic target structure:</para>
224
225<screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
226
227 <para>Disable a service that is known to cause problems with systems that
228 use a network configuration other than what is provided by
229 systemd-networkd:</para>
230 <!-- Observed halting startup with dhcpcd handling the primary NIC -->
231
232<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen>
233
234 <para>Prevent systemd from resetting the maximum PID value which causes
235 some problems with packages and units in BLFS:</para>
236
237
238<screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
239
240 <!--
241 <para>Prevent systemd from creating <filename>/run/nologin</filename>
242 to allow unprivileged user logins without
243 <application>systemd-logind</application>:</para>
244
245<screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>
246 -->
247 </sect2>
248
249<!-- ====== 32-bit ===== -->
250
251 <sect2 arch="ml_32,ml_all" role="installation">
252 <title>Installation of systemd - 32-bit</title>
253
254 <para>If still in the build directory, step out:</para>
255<screen><userinput remap="pre">cd ..</userinput></screen>
256
257 <para>Clean previous build:</para>
258
259<screen><userinput remap="pre">rm -rf build</userinput></screen>
260
261 <para>Create a symlink to work around missing xsltproc:</para>
262
263<screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen>
264
265 <para>Because we have not yet installed the final version of Util-Linux,
266 create links to the libraries in the approprite location:</para>
267
268<screen><userinput remap="pre">for file in /tools/lib32/lib{blkid,mount,uuid}*; do
269 ln -sf $file /usr/lib32/
270done</userinput></screen>
271
272 <para>Set up the man pages:</para>
273
274<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
275
276 <para>Prepare systemd for compilation:</para>
277
278 <screen><userinput remap="configure">cd build
279PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/tools/lib32/pkgconfig" \
280CC="gcc -m32 -march=i686" \
281CXX="g++ -m32 -march=i686" \
282LANG=en_US.UTF-8 \
283meson --prefix=/usr \
284 --sysconfdir=/etc \
285 --localstatedir=/var \
286 -Dblkid=true \
287 -Dbuildtype=release \
288 -Ddefault-dnssec=no \
289 -Dfirstboot=false \
290 -Dinstall-tests=false \
291 -Dkill-path=/bin/kill \
292 -Dkmod-path=/bin/kmod \
293 -Dldconfig=false \
294 -Dmount-path=/bin/mount \
295 -Drootprefix= \
296 -Drootlibdir=/usr/lib32 \
297 -Dsplit-usr=true \
298 -Dsulogin-path=/sbin/sulogin \
299 -Dsysusers=false \
300 -Dumount-path=/bin/umount \
301 -Db_lto=false \
302 ..</userinput></screen>
303
304 <para>Compile the package:</para>
305
306<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
307
308 <para>Install the package:</para>
309
310<screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
311cp -Rv DESTDIR/usr/lib32/* /usr/lib32
312rm -rf DESTDIR
313rm -f /usr/bin/xsltproc</userinput></screen>
314
315 </sect2>
316
317<!-- ====== x32-bit ===== -->
318
319 <sect2 arch="ml_x32,ml_all" role="installation">
320 <title>Installation of systemd - x32-bit</title>
321
322 <para>If still in the build directory, step out:</para>
323<screen><userinput remap="pre">cd ..</userinput></screen>
324
325 <para>Clean previous build:</para>
326
327<screen><userinput remap="pre">rm -rf build</userinput></screen>
328
329 <para>Create a symlink to work around missing xsltproc:</para>
330
331<screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen>
332
333 <para>Because we have not yet installed the final version of Util-Linux,
334 create links to the libraries in the approprite location:</para>
335
336<screen><userinput remap="pre">for file in /tools/libx32/lib{blkid,mount,uuid}*; do
337 ln -sf $file /usr/libx32/
338done</userinput></screen>
339
340 <para>Set up the man pages:</para>
341
342<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
343
344 <para>Fix an issue on x32:</para>
345
346<screen><userinput remap="pre">sed '/log_debug/s@PRI_TIMEX@PRIi64@' -i src/timesync/timesyncd-manager.c
347sed '/long drift_freq;/s@long @int64_t @' -i src/timesync/timesyncd-manager.h</userinput></screen>
348
349 <para>Prepare systemd for compilation:</para>
350
351<screen><userinput remap="configure">cd build
352PKG_CONFIG_PATH="/tools/libx32/pkgconfig:/usr/libx32/pkgconfig" \
353CC="gcc -mx32" \
354CXX="g++ -mx32" \
355CFLAGS+="-Wno-error=shift-overflow" \
356CXXFLAGS+="-Wno-error=shift-overflow" \
357LANG=en_US.UTF-8 \
358meson --prefix=/usr \
359 --sysconfdir=/etc \
360 --localstatedir=/var \
361 -Dblkid=true \
362 -Dbuildtype=release \
363 -Ddefault-dnssec=no \
364 -Dfirstboot=false \
365 -Dinstall-tests=false \
366 -Dkill-path=/bin/kill \
367 -Dkmod-path=/bin/kmod \
368 -Dldconfig=false \
369 -Dmount-path=/bin/mount \
370 -Drootprefix= \
371 -Drootlibdir=/usr/libx32 \
372 -Dsplit-usr=true \
373 -Dsulogin-path=/sbin/sulogin \
374 -Dsysusers=false \
375 -Dumount-path=/bin/umount \
376 -Db_lto=false \
377 ..</userinput></screen>
378
379 <para>Compile the package:</para>
380
381<screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
382
383 <para>Install the package:</para>
384
385<screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
386cp -Rv DESTDIR/usr/libx32/* /usr/libx32
387rm -rf DESTDIR
388rm -f /usr/bin/xsltproc</userinput></screen>
389
390 </sect2>
391
392 <sect2 id="contents-systemd" role="content">
393 <title>Contents of systemd</title>
394
395 <segmentedlist>
396 <segtitle>Installed programs</segtitle>
397 <segtitle>Installed libraries</segtitle>
398 <segtitle>Installed directories</segtitle>
399
400 <seglistitem>
401 <seg>bootctl, busctl, coredumpctl, halt (symlink to systemctl),
402 hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
403 machinectl, networkctl, portablectl, poweroff (symlink to
404 systemctl), reboot (symlink to systemctl), resolvconf (symlink to
405 resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
406 (symlink to systemctl), systemctl, systemd-analyze,
407 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
408 systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
409 systemd-id128, systemd-inhibit, systemd-machine-id-setup,
410 systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
411 systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
412 systemd-socket-activate, systemd-stdio-bridge, systemd-tmpfiles,
413 systemd-tty-ask-password-agent, systemd-umount (symlink to
414 systemd-mount), telinit (symlink to systemctl), timedatectl, and
415 udevadm</seg>
416 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
417 libnss_resolve.so.2, libnss_systemd.so.2,
418 libsystemd.so, libsystemd-shared-&systemd-version;.so (in /lib/systemd),
419 and libudev.so</seg>
420 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
421 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
422 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
423 /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
424 /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
425 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
426 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
427 </seglistitem>
428 </segmentedlist>
429
430 <variablelist>
431 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
432 <?dbfo list-presentation="list"?>
433 <?dbhtml list-presentation="table"?>
434
435 <varlistentry id="bootctl">
436 <term><command>bootctl</command></term>
437 <listitem>
438 <para>Used to query the firmware and boot manager settings</para>
439 <indexterm zone="ch-system-systemd bootctl">
440 <primary sortas="b-bootctl">bootctl</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444
445 <varlistentry id="busctl">
446 <term><command>busctl</command></term>
447 <listitem>
448 <para>Used to introspect and monitor the D-Bus bus</para>
449 <indexterm zone="ch-system-systemd busctl">
450 <primary sortas="b-busctl">busctl</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
455 <varlistentry id="coredumpctl">
456 <term><command>coredumpctl</command></term>
457 <listitem>
458 <para>Used to retrieve coredumps from the systemd journal</para>
459 <indexterm zone="ch-system-systemd coredumpctl">
460 <primary sortas="b-coredumpctl">coredumpctl</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="halt">
466 <term><command>halt</command></term>
467 <listitem>
468 <para>Normally invokes <command>shutdown</command> with the
469 <parameter>-h</parameter> option, except when already in run-level 0,
470 then it tells the kernel to halt the system; it notes in the
471 file <filename>/var/log/wtmp</filename> that the system is being
472 brought down</para>
473 <indexterm zone="ch-system-systemd halt">
474 <primary sortas="b-halt">halt</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="hostnamectl">
480 <term><command>hostnamectl</command></term>
481 <listitem>
482 <para>Used to query and change the system hostname and related
483 settings</para>
484 <indexterm zone="ch-system-systemd hostnamectl">
485 <primary sortas="b-hostnamectl">hostnamectl</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="init">
491 <term><command>init</command></term>
492 <listitem>
493 <para>The first process to be started when the kernel has initialized
494 the hardware which takes over the boot process and starts all
495 processes according to its configuration files</para>
496 <indexterm zone="ch-system-systemd init">
497 <primary sortas="b-init">init</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="journalctl">
503 <term><command>journalctl</command></term>
504 <listitem>
505 <para>Used to query the contents of the systemd journal</para>
506 <indexterm zone="ch-system-systemd journalctl">
507 <primary sortas="b-journalctl">journalctl</primary>
508 </indexterm>
509 </listitem>
510 </varlistentry>
511
512 <varlistentry id="kernel-install">
513 <term><command>kernel-install</command></term>
514 <listitem>
515 <para>Used to add and remove kernel and initramfs images to and
516 from /boot</para>
517 <indexterm zone="ch-system-systemd kernel-install">
518 <primary sortas="b-kernel-install">kernel-install</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="localectl">
524 <term><command>localectl</command></term>
525 <listitem>
526 <para>Used to query and change the system locale and keyboard layout
527 settings</para>
528 <indexterm zone="ch-system-systemd localectl">
529 <primary sortas="b-localectl">localectl</primary>
530 </indexterm>
531 </listitem>
532 </varlistentry>
533
534 <varlistentry id="loginctl">
535 <term><command>loginctl</command></term>
536 <listitem>
537 <para>Used to introspect and control the state of the systemd Login
538 Manager</para>
539 <indexterm zone="ch-system-systemd loginctl">
540 <primary sortas="b-loginctl">loginctl</primary>
541 </indexterm>
542 </listitem>
543 </varlistentry>
544
545 <varlistentry id="machinectl">
546 <term><command>machinectl</command></term>
547 <listitem>
548 <para>Used to introspect and control the state of the systemd Virtual
549 Machine and Container Registration Manager</para>
550 <indexterm zone="ch-system-systemd machinectl">
551 <primary sortas="b-machinectl">machinectl</primary>
552 </indexterm>
553 </listitem>
554 </varlistentry>
555
556 <varlistentry id="networkctl">
557 <term><command>networkctl</command></term>
558 <listitem>
559 <para>Used to introspect the state of the network links as seen by
560 systemd-networkd</para>
561 <indexterm zone="ch-system-systemd networkctl">
562 <primary sortas="b-networkctl">networkctl</primary>
563 </indexterm>
564 </listitem>
565 </varlistentry>
566
567 <varlistentry id="portablectl">
568 <term><command>portablectl</command></term>
569 <listitem>
570 <para>Used to attach or detach portable services from the local
571 system</para>
572 <indexterm zone="ch-system-systemd portablectl">
573 <primary sortas="b-portablectl">portablectl</primary>
574 </indexterm>
575 </listitem>
576 </varlistentry>
577
578 <varlistentry id="poweroff">
579 <term><command>poweroff</command></term>
580 <listitem>
581 <para>Tells the kernel to halt the system and switch off the computer
582 (see <command>halt</command>)</para>
583 <indexterm zone="ch-system-systemd poweroff">
584 <primary sortas="b-poweroff">poweroff</primary>
585 </indexterm>
586 </listitem>
587 </varlistentry>
588
589 <varlistentry id="reboot">
590 <term><command>reboot</command></term>
591 <listitem>
592 <para>Tells the kernel to reboot the system (see
593 <command>halt</command>)</para>
594 <indexterm zone="ch-system-systemd reboot">
595 <primary sortas="b-reboot">reboot</primary>
596 </indexterm>
597 </listitem>
598 </varlistentry>
599
600 <varlistentry id="resolvconf">
601 <term><command>resolvconf</command></term>
602 <listitem>
603 <para>Register DNS server and domain configuration with
604 <command>systemd-resolved</command></para>
605 <indexterm zone="ch-system-systemd resolvconf">
606 <primary sortas="b-resolvconf">resolvconf</primary>
607 </indexterm>
608 </listitem>
609 </varlistentry>
610
611 <varlistentry id="resolvectl">
612 <term><command>resolvectl</command></term>
613 <listitem>
614 <para>Send control commands to the network name resolution
615 manager, or resolve domain names, IPv4 and IPv6 addresses,
616 DNS records, and services.</para>
617 <indexterm zone="ch-system-systemd resolvectl">
618 <primary sortas="b-resolvectl">resolvectl</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="runlevel">
624 <term><command>runlevel</command></term>
625 <listitem>
626 <para>Reports the previous and the current run-level, as noted in the
627 last run-level record in <filename>/var/run/utmp</filename></para>
628 <indexterm zone="ch-system-systemd runlevel">
629 <primary sortas="b-runlevel">runlevel</primary>
630 </indexterm>
631 </listitem>
632 </varlistentry>
633
634 <varlistentry id="shutdown">
635 <term><command>shutdown</command></term>
636 <listitem>
637 <para>Brings the system down in a secure way, signaling all processes
638 and notifying all logged-in users</para>
639 <indexterm zone="ch-system-systemd shutdown">
640 <primary sortas="b-shutdown">shutdown</primary>
641 </indexterm>
642 </listitem>
643 </varlistentry>
644
645 <varlistentry id="systemctl">
646 <term><command>systemctl</command></term>
647 <listitem>
648 <para>Used to introspect and control the state of the systemd system
649 and service manager</para>
650 <indexterm zone="ch-system-systemd systemctl">
651 <primary sortas="b-systemctl">systemctl</primary>
652 </indexterm>
653 </listitem>
654 </varlistentry>
655
656 <varlistentry id="systemd-analyze">
657 <term><command>systemd-analyze</command></term>
658 <listitem>
659 <para>Used to determine system boot-up performance of the current
660 boot</para>
661 <indexterm zone="ch-system-systemd systemd-analyze">
662 <primary sortas="b-systemd-analyze">systemd-analyze</primary>
663 </indexterm>
664 </listitem>
665 </varlistentry>
666
667 <varlistentry id="systemd-ask-password">
668 <term><command>systemd-ask-password</command></term>
669 <listitem>
670 <para>Used to query a system password or passphrase from the user,
671 using a question message specified on the command line</para>
672 <indexterm zone="ch-system-systemd systemd-ask-password">
673 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
674 </indexterm>
675 </listitem>
676 </varlistentry>
677
678 <varlistentry id="systemd-cat">
679 <term><command>systemd-cat</command></term>
680 <listitem>
681 <para>Used to connect STDOUT and STDERR of a process with the Journal
682 </para>
683 <indexterm zone="ch-system-systemd systemd-cat">
684 <primary sortas="b-systemd-cat">systemd-cat</primary>
685 </indexterm>
686 </listitem>
687 </varlistentry>
688
689 <varlistentry id="systemd-cgls">
690 <term><command>systemd-cgls</command></term>
691 <listitem>
692 <para>Recursively shows the contents of the selected Linux control
693 group hierarchy in a tree</para>
694 <indexterm zone="ch-system-systemd systemd-cgls">
695 <primary sortas="b-systemd-cgls">systemd-cgls</primary>
696 </indexterm>
697 </listitem>
698 </varlistentry>
699
700 <varlistentry id="systemd-cgtop">
701 <term><command>systemd-cgtop</command></term>
702 <listitem>
703 <para>Shows the top control groups of the local Linux control group
704 hierarchy, ordered by their CPU, memory and disk I/O load</para>
705 <indexterm zone="ch-system-systemd systemd-cgtop">
706 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
707 </indexterm>
708 </listitem>
709 </varlistentry>
710
711 <varlistentry id="systemd-delta">
712 <term><command>systemd-delta</command></term>
713 <listitem>
714 <para>Used to identify and compare configuration files in
715 <filename class="directory">/etc</filename> that override default
716 counterparts in <filename class="directory">/usr</filename></para>
717 <indexterm zone="ch-system-systemd systemd-delta">
718 <primary sortas="b-systemd-delta">systemd-delta</primary>
719 </indexterm>
720 </listitem>
721 </varlistentry>
722
723 <varlistentry id="systemd-detect-virt">
724 <term><command>systemd-detect-virt</command></term>
725 <listitem>
726 <para>Detects execution in a virtualized environment</para>
727 <indexterm zone="ch-system-systemd systemd-detect-virt">
728 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
729 </indexterm>
730 </listitem>
731 </varlistentry>
732
733 <varlistentry id="systemd-escape">
734 <term><command>systemd-escape</command></term>
735 <listitem>
736 <para>Used to escape strings for inclusion in systemd unit
737 names</para>
738 <indexterm zone="ch-system-systemd systemd-escape">
739 <primary sortas="b-systemd-escape">systemd-escape</primary>
740 </indexterm>
741 </listitem>
742 </varlistentry>
743
744 <varlistentry id="systemd-hwdb">
745 <term><command>systemd-hwdb</command></term>
746 <listitem>
747 <para>Used to manage hardware database (hwdb)</para>
748 <indexterm zone="ch-system-systemd systemd-hwdb">
749 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
750 </indexterm>
751 </listitem>
752 </varlistentry>
753
754 <varlistentry id="systemd-id128">
755 <term><command>systemd-id128</command></term>
756 <listitem>
757 <para>Generate and print id128 strings</para>
758 <indexterm zone="ch-system-systemd systemd-id128">
759 <primary sortas="b-systemd-id128">systemd-id128</primary>
760 </indexterm>
761 </listitem>
762 </varlistentry>
763
764 <varlistentry id="systemd-inhibit">
765 <term><command>systemd-inhibit</command></term>
766 <listitem>
767 <para>Used to execute a program with a shutdown, sleep or idle
768 inhibitor lock taken</para>
769 <indexterm zone="ch-system-systemd systemd-inhibit">
770 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
771 </indexterm>
772 </listitem>
773 </varlistentry>
774
775 <varlistentry id="systemd-machine-id-setup">
776 <term><command>systemd-machine-id-setup</command></term>
777 <listitem>
778 <para>Used by system installer tools to initialize the machine ID
779 stored in <filename>/etc/machine-id</filename> at install time with a
780 randomly generated ID</para>
781 <indexterm zone="ch-system-systemd systemd-machine-id-setup">
782 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
783 </indexterm>
784 </listitem>
785 </varlistentry>
786
787 <varlistentry id="systemd-mount">
788 <term><command>systemd-mount</command></term>
789 <listitem>
790 <para>A tool to temporarily mount or auto-mount a drive.</para>
791 <indexterm zone="ch-system-systemd systemd-mount">
792 <primary sortas="b-systemd-mount">systemd-mount</primary>
793 </indexterm>
794 </listitem>
795 </varlistentry>
796
797 <varlistentry id="systemd-notify">
798 <term><command>systemd-notify</command></term>
799 <listitem>
800 <para>Used by daemon scripts to notify the init system about status
801 changes</para>
802 <indexterm zone="ch-system-systemd systemd-notify">
803 <primary sortas="b-systemd-notify">systemd-notify</primary>
804 </indexterm>
805 </listitem>
806 </varlistentry>
807
808 <varlistentry id="systemd-nspawn">
809 <term><command>systemd-nspawn</command></term>
810 <listitem>
811 <para>Used to run a command or OS in a light-weight namespace
812 container</para>
813 <indexterm zone="ch-system-systemd systemd-nspawn">
814 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
815 </indexterm>
816 </listitem>
817 </varlistentry>
818
819 <varlistentry id="systemd-path">
820 <term><command>systemd-path</command></term>
821 <listitem>
822 <para>Used to query system and user paths</para>
823 <indexterm zone="ch-system-systemd systemd-path">
824 <primary sortas="b-systemd-path">systemd-path</primary>
825 </indexterm>
826 </listitem>
827 </varlistentry>
828
829 <varlistentry id="systemd-repart">
830 <term><command>systemd-repart</command></term>
831 <listitem>
832 <para>Used go grow and add partitions to a partition table when
833 systemd is used in an OS image (e.g. a container).</para>
834 <indexterm zone="ch-system-systemd systemd-repart">
835 <primary sortas="b-systemd-repart">systemd-repart</primary>
836 </indexterm>
837 </listitem>
838 </varlistentry>
839
840 <varlistentry id="systemd-resolve">
841 <term><command>systemd-resolve</command></term>
842 <listitem>
843 <para>Used to resolve domain names, IPV4 and IPv6 addresses, DNS
844 resource records, and services</para>
845 <indexterm zone="ch-system-systemd systemd-resolve">
846 <primary sortas="b-systemd-resolve">systemd-resolve</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
851 <varlistentry id="systemd-run">
852 <term><command>systemd-run</command></term>
853 <listitem>
854 <para>Used to create and start a transient .service or a .scope unit
855 and run the specified command in it</para>
856 <indexterm zone="ch-system-systemd systemd-run">
857 <primary sortas="b-systemd-run">systemd-run</primary>
858 </indexterm>
859 </listitem>
860 </varlistentry>
861
862 <!-- <varlistentry id="systemd-stdio-bridge">
863 <term><command>systemd-stdio-bridge</command></term>
864 <listitem>
865 <para>To be completed</para>
866 <indexterm zone="ch-system-systemd systemd-stdio-bridge">
867 <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>
868 </indexterm>
869 </listitem>
870 </varlistentry> -->
871
872 <varlistentry id="systemd-socket-activate">
873 <term><command>systemd-socket-activate</command></term>
874 <listitem>
875 <para>A tool to listen on socket devices and launch a process upon
876 connection.</para>
877 <indexterm zone="ch-system-systemd systemd-socket-activate">
878 <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
879 </indexterm>
880 </listitem>
881 </varlistentry>
882
883 <varlistentry id="systemd-tmpfiles">
884 <term><command>systemd-tmpfiles</command></term>
885 <listitem>
886 <para>Creates, deletes and cleans up volatile and temporary files and
887 directories, based on the configuration file format and location
888 specified in
889 <filename class="directory">tmpfiles.d</filename> directories</para>
890 <indexterm zone="ch-system-systemd systemd-tmpfiles">
891 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
892 </indexterm>
893 </listitem>
894 </varlistentry>
895
896 <varlistentry id="systemd-umount">
897 <term><command>systemd-umount</command></term>
898 <listitem>
899 <para>Unmount mount points</para>
900 <indexterm zone="ch-system-systemd systemd-umount">
901 <primary sortas="b-systemd-umount">systemd-umount</primary>
902 </indexterm>
903 </listitem>
904 </varlistentry>
905
906 <varlistentry id="systemd-tty-ask-password-agent">
907 <term><command>systemd-tty-ask-password-agent</command></term>
908 <listitem>
909 <para>Used to list or process pending systemd password requests</para>
910 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
911 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
912 </indexterm>
913 </listitem>
914 </varlistentry>
915
916 <varlistentry id="telinit">
917 <term><command>telinit</command></term>
918 <listitem>
919 <para>Tells <command>init</command> which run-level to change
920 to</para>
921 <indexterm zone="ch-system-systemd telinit">
922 <primary sortas="b-telinit">telinit</primary>
923 </indexterm>
924 </listitem>
925 </varlistentry>
926
927 <varlistentry id="timedatectl">
928 <term><command>timedatectl</command></term>
929 <listitem>
930 <para>Used to query and change the system clock and its settings
931 </para>
932 <indexterm zone="ch-system-systemd timedatectl">
933 <primary sortas="b-timedatectl">timedatectl</primary>
934 </indexterm>
935 </listitem>
936 </varlistentry>
937
938 <varlistentry id="udevadm">
939 <term><command>udevadm</command></term>
940 <listitem>
941 <para>Generic udev administration tool: controls the udevd daemon,
942 provides info from the Udev database, monitors uevents, waits for
943 uevents to finish, tests udev configuration, and triggers uevents
944 for a given device</para>
945 <indexterm zone="ch-system-systemd udevadm">
946 <primary sortas="b-udevadm">udevadm</primary>
947 </indexterm>
948 </listitem>
949 </varlistentry>
950
951 <varlistentry id="libsystemd">
952 <term><filename class="libraryfile">libsystemd</filename></term>
953 <listitem>
954 <para>The main systemd utility library</para>
955 <indexterm zone="ch-system-systemd libsystemd">
956 <primary sortas="c-libsystemd">libsystemd</primary>
957 </indexterm>
958 </listitem>
959 </varlistentry>
960
961 <varlistentry id="libudev">
962 <term><filename class="libraryfile">libudev</filename></term>
963 <listitem>
964 <para>A library to access Udev device information</para>
965 <indexterm zone="ch-system-systemd libudev">
966 <primary sortas="c-libudev">libudev</primary>
967 </indexterm>
968 </listitem>
969 </varlistentry>
970
971 </variablelist>
972
973 </sect2>
974
975</sect1>
Note: See TracBrowser for help on using the repository browser.