source: chapter06/systemd.xml@ 1b28d1a

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

MultiLib: Merge changes from trunk

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

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