source: chapter06/systemd.xml@ 8c5e7286

multilib-10.1 multilib-before-cross
Last change on this file since 8c5e7286 was 8c5e7286, checked in by Thomas Trepl <thomas@…>, 3 years ago

Merge upstream changes

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

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