source: chapter06/systemd.xml@ 866a915

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

MultiLib: Merge changes from trunk

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

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