source: chapter06/systemd.xml@ f8ea68b

multilib-10.1 multilib-before-cross
Last change on this file since f8ea68b was f8ea68b, checked in by Thomas Trepl <thomas@…>, 23 months ago

MultiLib: Merge changes from trunk

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