source: chapter06/systemd.xml@ 26ae89a

7.9-systemd
Last change on this file since 26ae89a was 26ae89a, checked in by DJ Lucas <dj@…>, 8 years ago

Fix systemd chapter 6 build, move util-linux back to end of chapter 6, remove sysmlink for /etc/resolv.conf

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

  • Property mode set to 100644
File size: 26.7 KB
RevLine 
[f896e21c]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
[686badf]8<sect1 id="ch-system-systemd" role="wrap">
9 <?dbhtml filename="systemd.html"?>
[f896e21c]10
11 <sect1info condition="script">
[686badf]12 <productname>systemd</productname>
[f896e21c]13 <productnumber>&systemd-version;</productnumber>
14 <address>&systemd-url;</address>
15 </sect1info>
16
[686badf]17 <title>Systemd-&systemd-version;</title>
[f896e21c]18
[686badf]19 <indexterm zone="ch-system-systemd">
[5efe553]20 <primary sortas="a-systemd">systemd</primary>
[f896e21c]21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
[5efe553]26 <para>The systemd package contains programs for controlling the startup,
[686badf]27 running, and shutdown of the system.</para>
[f896e21c]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">
[5efe553]41 <title>Installation of systemd</title>
[686badf]42
[26ae89a]43 <para>First, fix a build error when using Util-Linux built in
44 Chapter 5:</para>
45
46<screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen>
47
48 <para>Apply the following patch so that compat
49 <command>pkg-config</command> files get installed without installing compat
50 libs which are useless on LFS:</para>
51
52<screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen>
53
54 <para>Disable two tests that always fail:</para>
55
56<screen><userinput remap="pre">sed -e 's:test/udev-test.pl ::g' \
57 -e 's:test-copy$(EXEEXT) ::g' \
58 -i Makefile.in</userinput></screen>
59
60 <para>Rebuild generated files after modifying Makefile.am and
61 Makefile.in:</para>
62
63<screen><userinput remap="pre">autoreconf -fi</userinput></screen>
64
65 <para>Create a file to allow systemd to build when using Util-Linux
[131c907]66 built in Chapter 5, to disable LTO by default, and to build without
67 xlstproc:</para>
[e88c73c]68
69<screen><userinput remap="pre">cat &gt; config.cache &lt;&lt; "EOF"
70<literal>KILL=/bin/kill
[da5445e]71MOUNT_PATH=/bin/mount
72UMOUNT_PATH=/bin/umount
[e88c73c]73HAVE_BLKID=1
74BLKID_LIBS="-lblkid"
[0b10138f]75BLKID_CFLAGS="-I/tools/include/blkid"
[093c5ad9]76HAVE_LIBMOUNT=1
77MOUNT_LIBS="-lmount"
78MOUNT_CFLAGS="-I/tools/include/libmount"
[131c907]79cc_cv_CFLAGS__flto=no
80XSLTPROC="/usr/bin/xsltproc"</literal>
[e88c73c]81EOF</userinput></screen>
82
[26ae89a]83 <para>LTO is disabled by default because it causes
84 <command>systemd</command> and other auxiliary programs to link to
85 <filename class="libraryfile">libgcc_s.so</filename>, slows the build down
86 and makes the compiled code larger.</para>
[bd9829c]87
[5efe553]88 <para>Prepare systemd for compilation:</para>
[686badf]89
[63e8d0a]90<screen><userinput remap="configure">./configure --prefix=/usr \
[5bbc896]91 --sysconfdir=/etc \
92 --localstatedir=/var \
93 --config-cache \
94 --with-rootprefix= \
95 --with-rootlibdir=/lib \
96 --enable-split-usr \
[0b10138f]97 --disable-firstboot \
98 --disable-ldconfig \
99 --disable-sysusers \
[5bbc896]100 --without-python \
101 --docdir=/usr/share/doc/systemd-&systemd-version; \
102 --with-dbuspolicydir=/etc/dbus-1/system.d \
103 --with-dbussessionservicedir=/usr/share/dbus-1/services \
104 --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
[f896e21c]105
[e4d8c0cd]106 <variablelist>
[4a4e017]107 <title>The meaning of the configure options:</title>
[e4d8c0cd]108
109 <varlistentry>
[e88c73c]110 <term><parameter>--config-cache</parameter></term>
111 <listitem>
112 <para>This switch tells the build system to use
113 the <filename>config.cache</filename> file which
114 was created earlier.</para>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry>
119 <term><parameter>--with-root*</parameter></term>
[e4d8c0cd]120 <listitem>
121 <para>These switches ensure that core programs and
122 shared libraries are installed in the subdirectories
123 of the root partition.</para>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry>
128 <term><parameter>--enable-split-usr</parameter></term>
129 <listitem>
[5efe553]130 <para>This switch ensures that systemd will work on
[e4d8c0cd]131 systems where /bin, /lib and /sbin directories are not
132 symlinks to their /usr counterparts.</para>
133 </listitem>
134 </varlistentry>
135
136 <varlistentry>
[da5445e]137 <term><parameter>--without-python</parameter></term>
[e4d8c0cd]138 <listitem>
[da5445e]139 <para>This switch prevents <command>configure</command>
[f168b8f]140 from trying to use Python which isn't built
141 in LFS.</para>
[e4d8c0cd]142 </listitem>
143 </varlistentry>
144
[0b10138f]145 <varlistentry>
146 <term><parameter>--disable-firstboot</parameter></term>
147 <listitem>
148 <para>This switch prevents installation of systemd
149 services responsible for setting up the system for
150 the first time. They are not useful for LFS because
151 everything is done manually.</para>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry>
156 <term><parameter>--disable-ldconfig</parameter></term>
157 <listitem>
158 <para>This switch prevents installation of a systemd
159 unit that runs <command>ldconfig</command> at
160 boot, making the boot time longer. Remove it if the
161 described feature is desired, even though it's not
162 useful for source distributions such as LFS.</para>
163 </listitem>
164 </varlistentry>
165
166 <varlistentry>
167 <term><parameter>--disable-sysusers</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 early in this chapter.</para>
174 </listitem>
175 </varlistentry>
176
[5bbc896]177 <varlistentry>
178 <term><parameter>--with-dbus*</parameter></term>
179 <listitem>
[5efe553]180 <para>These switches ensure that D-Bus configuration files
[5bbc896]181 get installed in the correct locations.</para>
182 </listitem>
183 </varlistentry>
184
[e4d8c0cd]185 </variablelist>
186
[f896e21c]187 <para>Compile the package:</para>
188
[e88c73c]189<screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen>
[b7da138f]190
[bd9829c]191 <para>This package has a test suite, but it can only be run after the
192 package has been installed.</para>
[58c8823]193
[686badf]194 <para>Install the package:</para>
[d29a03b]195
[e88c73c]196<screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen>
[d29a03b]197
[0b10138f]198 <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para>
[94f4fb86]199
[0b10138f]200<screen><userinput remap="install">mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib</userinput></screen>
[94f4fb86]201
[720f253]202 <para>Remove an unnecessary directory:</para>
203
204<screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen>
205
[5efe553]206 <para>Create the Sysvinit compatibility symlinks, so systemd is used
[e4d8c0cd]207 as the default init system:</para>
208
209<screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do
[94f4fb86]210 ln -sfv ../bin/systemctl /sbin/${tool}
[e4d8c0cd]211done
212ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
213
[da5445e]214 <para>Remove a reference to a non-existent group:</para>
[e4d8c0cd]215
[da5445e]216<screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen>
[e4d8c0cd]217
[323c672]218 <para>Create the <filename>/etc/machine-id</filename> file needed by
[bd9829c]219 <command>systemd-journald</command>:</para>
[323c672]220
[94f4fb86]221<screen><userinput remap="install">systemd-machine-id-setup</userinput></screen>
[323c672]222
[bd9829c]223 <para>Since the testsuite largely depends on the host system kernel
224 configuration, some tests may fail. It also needs a modification in
225 order not to look for a program that will be installed by Util-Linux
226 package later in this chapter. To test the results, issue:</para>
227
228<screen><userinput remap="test">sed -i "s:minix:ext4:g" src/test/test-path-util.c
229make LD_LIBRARY_PATH=/tools/lib -k check</userinput></screen>
230
[f896e21c]231 </sect2>
232
[e4d8c0cd]233 <sect2 id="contents-systemd" role="content">
[5efe553]234 <title>Contents of systemd</title>
[f896e21c]235
236 <segmentedlist>
237 <segtitle>Installed programs</segtitle>
[e4d8c0cd]238 <segtitle>Installed libraries</segtitle>
239 <segtitle>Installed directories</segtitle>
[f896e21c]240
241 <seglistitem>
[d8a0120]242 <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
[0b10138f]243 kernel-install, localectl, loginctl, machinectl, networkctl, poweroff,
244 reboot, runlevel, shutdown, systemctl, systemd-analyze,
245 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
[850a7b5]246 systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
247 systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn,
248 systemd-path, systemd-run, systemd-stdio-bridge, systemd-tmpfiles,
[f906354]249 systemd-tty-ask-password-agent, telinit, timedatectl, and udevadm</seg>
[0b10138f]250 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, libnss_resolve.so.2,
[930578e4]251 libsystemd.so, and libudev.so</seg>
[94f4fb86]252 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
[e4d8c0cd]253 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
254 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
[720f253]255 /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
[f906354]256 /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
257 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
[b5734891]258 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
[f896e21c]259 </seglistitem>
260 </segmentedlist>
261
262 <variablelist>
263 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
264 <?dbfo list-presentation="list"?>
265 <?dbhtml list-presentation="table"?>
266
[5bbc896]267 <varlistentry id="bootctl">
[94f4fb86]268 <term><command>bootctl</command></term>
269 <listitem>
[930578e4]270 <para>used to query the firmware and boot manager settings</para>
[94f4fb86]271 <indexterm zone="ch-system-systemd bootctl">
272 <primary sortas="b-bootctl">bootctl</primary>
273 </indexterm>
274 </listitem>
[5bbc896]275 </varlistentry>
276
277 <varlistentry id="busctl">
278 <term><command>busctl</command></term>
279 <listitem>
[930578e4]280 <para>Used to introspect and monitor the D-Bus bus</para>
[5bbc896]281 <indexterm zone="ch-system-systemd busctl">
282 <primary sortas="b-busctl">busctl</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
[94f4fb86]286
[d8a0120]287 <varlistentry id="coredumpctl">
288 <term><command>coredumpctl</command></term>
289 <listitem>
290 <para>Used to retrieve coredumps from the systemd Journal</para>
291 <indexterm zone="ch-system-systemd coredumpctl">
292 <primary sortas="b-coredumpctl">coredumpctl</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
[e4d8c0cd]297 <varlistentry id="halt">
298 <term><command>halt</command></term>
299 <listitem>
300 <para>Normally invokes <command>shutdown</command> with the
301 <parameter>-h</parameter> option, except when already in run-level 0,
302 then it tells the kernel to halt the system; it notes in the
303 file <filename>/var/log/wtmp</filename> that the system is being
[930578e4]304 brought down</para>
[e4d8c0cd]305 <indexterm zone="ch-system-systemd halt">
306 <primary sortas="b-halt">halt</primary>
307 </indexterm>
308 </listitem>
309 </varlistentry>
310
[686badf]311 <varlistentry id="hostnamectl">
312 <term><command>hostnamectl</command></term>
[f896e21c]313 <listitem>
[5efe553]314 <para>Used to query and change the system hostname and related
[930578e4]315 settings</para>
[686badf]316 <indexterm zone="ch-system-systemd hostnamectl">
317 <primary sortas="b-hostnamectl">hostnamectl</primary>
[f896e21c]318 </indexterm>
319 </listitem>
320 </varlistentry>
321
[e4d8c0cd]322 <varlistentry id="init">
323 <term><command>init</command></term>
324 <listitem>
325 <para>The first process to be started when the kernel has initialized
326 the hardware which takes over the boot process and starts all the
[930578e4]327 proceses it is instructed to</para>
[e4d8c0cd]328 <indexterm zone="ch-system-systemd init">
329 <primary sortas="b-init">init</primary>
330 </indexterm>
331 </listitem>
332 </varlistentry>
333
[686badf]334 <varlistentry id="journalctl">
335 <term><command>journalctl</command></term>
[f896e21c]336 <listitem>
[930578e4]337 <para>Used to query the contents of the systemd Journal</para>
[686badf]338 <indexterm zone="ch-system-systemd journalctl">
339 <primary sortas="b-journalctl">journalctl</primary>
[f896e21c]340 </indexterm>
341 </listitem>
342 </varlistentry>
343
[eb460c5]344 <varlistentry id="kernel-install">
345 <term><command>kernel-install</command></term>
346 <listitem>
[5efe553]347 <para>Used to add and remove kernel and initramfs images to and
[930578e4]348 from /boot</para>
[eb460c5]349 <indexterm zone="ch-system-systemd kernel-install">
350 <primary sortas="b-kernel-install">kernel-install</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
[686badf]355 <varlistentry id="localectl">
356 <term><command>localectl</command></term>
[f896e21c]357 <listitem>
[5efe553]358 <para>Used to query and change the system locale and keyboard layout
[930578e4]359 settings</para>
[686badf]360 <indexterm zone="ch-system-systemd localectl">
361 <primary sortas="b-localectl">localectl</primary>
[f896e21c]362 </indexterm>
363 </listitem>
364 </varlistentry>
365
[686badf]366 <varlistentry id="loginctl">
367 <term><command>loginctl</command></term>
[f896e21c]368 <listitem>
[5efe553]369 <para>Used to introspect and control the state of the systemd Login
[930578e4]370 Manager</para>
[686badf]371 <indexterm zone="ch-system-systemd loginctl">
372 <primary sortas="b-loginctl">loginctl</primary>
[f896e21c]373 </indexterm>
374 </listitem>
375 </varlistentry>
376
[94f4fb86]377 <varlistentry id="machinectl">
378 <term><command>machinectl</command></term>
379 <listitem>
[5efe553]380 <para>Used to introspect and control the state of the systemd Virtual
[94f4fb86]381 Machine and Container Registration Manager</para>
382 <indexterm zone="ch-system-systemd machinectl">
383 <primary sortas="b-machinectl">machinectl</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
[850a7b5]388 <varlistentry id="networkctl">
389 <term><command>networkctl</command></term>
390 <listitem>
391 <para>Used to introspect the state of the network links as seen by
392 systemd-networkd</para>
393 <indexterm zone="ch-system-systemd networkctl">
394 <primary sortas="b-networkctl">networkctl</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
[e4d8c0cd]399 <varlistentry id="poweroff">
400 <term><command>poweroff</command></term>
401 <listitem>
402 <para>Tells the kernel to halt the system and switch off the computer
[930578e4]403 (see <command>halt</command>)</para>
[e4d8c0cd]404 <indexterm zone="ch-system-systemd poweroff">
405 <primary sortas="b-poweroff">poweroff</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="reboot">
411 <term><command>reboot</command></term>
412 <listitem>
413 <para>Tells the kernel to reboot the system (see
[930578e4]414 <command>halt</command>)</para>
[e4d8c0cd]415 <indexterm zone="ch-system-systemd reboot">
416 <primary sortas="b-reboot">reboot</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
420
421 <varlistentry id="runlevel">
422 <term><command>runlevel</command></term>
423 <listitem>
424 <para>Reports the previous and the current run-level, as noted in the
[930578e4]425 last run-level record in <filename>/var/run/utmp</filename></para>
[e4d8c0cd]426 <indexterm zone="ch-system-systemd runlevel">
427 <primary sortas="b-runlevel">runlevel</primary>
428 </indexterm>
429 </listitem>
430 </varlistentry>
431
432 <varlistentry id="shutdown">
433 <term><command>shutdown</command></term>
434 <listitem>
435 <para>Brings the system down in a secure way, signaling all processes
[930578e4]436 and notifying all logged-in users</para>
[e4d8c0cd]437 <indexterm zone="ch-system-systemd shutdown">
438 <primary sortas="b-shutdown">shutdown</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
[686badf]443 <varlistentry id="systemctl">
444 <term><command>systemctl</command></term>
[f896e21c]445 <listitem>
[5efe553]446 <para>Used to introspect and control the state of the systemd system and
[930578e4]447 service manager</para>
[686badf]448 <indexterm zone="ch-system-systemd systemctl">
449 <primary sortas="b-systemctl">systemctl</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="systemd-analyze">
455 <term><command>systemd-analyze</command></term>
456 <listitem>
[930578e4]457 <para>Used to determine system boot-up performance of the current boot
[e4d8c0cd]458 </para>
[686badf]459 <indexterm zone="ch-system-systemd systemd-analyze">
460 <primary sortas="b-systemd-analyze">systemd-analyze</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="systemd-ask-password">
466 <term><command>systemd-ask-password</command></term>
467 <listitem>
[5efe553]468 <para>Used to query a system password or passphrase from the user, using a
[930578e4]469 question message specified on the command line</para>
[686badf]470 <indexterm zone="ch-system-systemd systemd-ask-password">
471 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
472 </indexterm>
473 </listitem>
474 </varlistentry>
475
476 <varlistentry id="systemd-cat">
477 <term><command>systemd-cat</command></term>
478 <listitem>
[930578e4]479 <para>Used to connect STDOUT and STDERR of a process with the Journal
[e4d8c0cd]480 </para>
[686badf]481 <indexterm zone="ch-system-systemd systemd-cat">
482 <primary sortas="b-systemd-cat">systemd-cat</primary>
483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="systemd-cgls">
488 <term><command>systemd-cgls</command></term>
489 <listitem>
[5efe553]490 <para>Recursively shows the contents of the selected Linux control group
[930578e4]491 hierarchy in a tree</para>
[686badf]492 <indexterm zone="ch-system-systemd systemd-cgls">
493 <primary sortas="b-systemd-cgls">systemd-cgls</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="systemd-cgtop">
499 <term><command>systemd-cgtop</command></term>
500 <listitem>
[5efe553]501 <para>Shows the top control groups of the local Linux control group hierarchy,
[930578e4]502 ordered by their CPU, memory and disk I/O load</para>
[686badf]503 <indexterm zone="ch-system-systemd systemd-cgtop">
504 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
505 </indexterm>
506 </listitem>
507 </varlistentry>
508
509 <varlistentry id="systemd-delta">
510 <term><command>systemd-delta</command></term>
511 <listitem>
[5efe553]512 <para>Used to identify and compare configuration files in
[e4d8c0cd]513 <filename class="directory">/etc</filename> that override default
[930578e4]514 counterparts in <filename class="directory">/usr</filename></para>
[686badf]515 <indexterm zone="ch-system-systemd systemd-delta">
516 <primary sortas="b-systemd-delta">systemd-delta</primary>
517 </indexterm>
518 </listitem>
519 </varlistentry>
520
521 <varlistentry id="systemd-detect-virt">
522 <term><command>systemd-detect-virt</command></term>
523 <listitem>
[930578e4]524 <para>Detects execution in a virtualized environment</para>
[686badf]525 <indexterm zone="ch-system-systemd systemd-detect-virt">
526 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
527 </indexterm>
528 </listitem>
529 </varlistentry>
530
[0b10138f]531 <varlistentry id="systemd-escape">
532 <term><command>systemd-escape</command></term>
533 <listitem>
[930578e4]534 <para>Used to escape strings for inclusion in systemd unit names</para>
[0b10138f]535 <indexterm zone="ch-system-systemd systemd-escape">
536 <primary sortas="b-systemd-escape">systemd-escape</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
[850a7b5]540
541 <varlistentry id="systemd-hwdb">
542 <term><command>systemd-hwdb</command></term>
543 <listitem>
544 <para>Used to manage hardware database (hwdb)</para>
545 <indexterm zone="ch-system-systemd systemd-hwdb">
546 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
547 </indexterm>
548 </listitem>
549 </varlistentry>
[0b10138f]550
[686badf]551 <varlistentry id="systemd-inhibit">
552 <term><command>systemd-inhibit</command></term>
553 <listitem>
[5efe553]554 <para>Used to execute a program with a shutdown, sleep or idle inhibitor lock
[930578e4]555 taken</para>
[686badf]556 <indexterm zone="ch-system-systemd systemd-inhibit">
557 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
558 </indexterm>
559 </listitem>
560 </varlistentry>
561
562 <varlistentry id="systemd-machine-id-setup">
563 <term><command>systemd-machine-id-setup</command></term>
564 <listitem>
[5efe553]565 <para>Used by system installer tools to initialize the machine ID stored in
[e4d8c0cd]566 <filename>/etc/machine-id</filename> at install time with a randomly
[930578e4]567 generated ID</para>
[686badf]568 <indexterm zone="ch-system-systemd systemd-machine-id-setup">
569 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
570 </indexterm>
571 </listitem>
572 </varlistentry>
573
574 <varlistentry id="systemd-notify">
575 <term><command>systemd-notify</command></term>
576 <listitem>
[930578e4]577 <para>Used by daemon scripts to notify the init system about status changes
[e4d8c0cd]578 </para>
[686badf]579 <indexterm zone="ch-system-systemd systemd-notify">
580 <primary sortas="b-systemd-notify">systemd-notify</primary>
[f896e21c]581 </indexterm>
582 </listitem>
583 </varlistentry>
584
[686badf]585 <varlistentry id="systemd-nspawn">
586 <term><command>systemd-nspawn</command></term>
[f896e21c]587 <listitem>
[930578e4]588 <para>Used to run a command or OS in a light-weight namespace container</para>
[686badf]589 <indexterm zone="ch-system-systemd systemd-nspawn">
590 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
[f896e21c]591 </indexterm>
592 </listitem>
593 </varlistentry>
594
[d8a0120]595 <varlistentry id="systemd-path">
596 <term><command>systemd-path</command></term>
597 <listitem>
[930578e4]598 <para>Used to query system and user paths</para>
[d8a0120]599 <indexterm zone="ch-system-systemd systemd-path">
600 <primary sortas="b-systemd-path">systemd-path</primary>
601 </indexterm>
602 </listitem>
603 </varlistentry>
604
[94f4fb86]605 <varlistentry id="systemd-run">
606 <term><command>systemd-run</command></term>
607 <listitem>
[5efe553]608 <para>Used to create and start a transient .service or a .scope unit and
[930578e4]609 run the specified command in it</para>
[94f4fb86]610 <indexterm zone="ch-system-systemd systemd-run">
611 <primary sortas="b-systemd-run">systemd-run</primary>
612 </indexterm>
613 </listitem>
614 </varlistentry>
615
[0b10138f]616 <!-- <varlistentry id="systemd-stdio-bridge">
[686badf]617 <term><command>systemd-stdio-bridge</command></term>
[f896e21c]618 <listitem>
[686badf]619 <para>To be completed</para>
620 <indexterm zone="ch-system-systemd systemd-stdio-bridge">
621 <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>
[f896e21c]622 </indexterm>
623 </listitem>
[e4d8c0cd]624 </varlistentry> -->
[f896e21c]625
[686badf]626 <varlistentry id="systemd-tmpfiles">
627 <term><command>systemd-tmpfiles</command></term>
[f896e21c]628 <listitem>
[5efe553]629 <para>Creates, deletes and cleans up volatile and temporary files and directories,
[e4d8c0cd]630 based on the configuration file format and location specified in
[930578e4]631 <filename class="directory">tmpfiles.d</filename> directories</para>
[686badf]632 <indexterm zone="ch-system-systemd systemd-tmpfiles">
633 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
634 </indexterm>
635 </listitem>
636 </varlistentry>
637
638 <varlistentry id="systemd-tty-ask-password-agent">
639 <term><command>systemd-tty-ask-password-agent</command></term>
640 <listitem>
[5efe553]641 <para>Used to list or process pending systemd password requests</para>
[686badf]642 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
643 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
644 </indexterm>
645 </listitem>
646 </varlistentry>
647
[e4d8c0cd]648 <varlistentry id="telinit">
649 <term><command>telinit</command></term>
650 <listitem>
[930578e4]651 <para>Tells <command>init</command> which run-level to change to</para>
[e4d8c0cd]652 <indexterm zone="ch-system-systemd telinit">
653 <primary sortas="b-telinit">telinit</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
[686badf]658 <varlistentry id="timedatectl">
659 <term><command>timedatectl</command></term>
660 <listitem>
[930578e4]661 <para>Used to query and change the system clock and its settings
[e4d8c0cd]662 </para>
[686badf]663 <indexterm zone="ch-system-systemd timedatectl">
664 <primary sortas="b-timedatectl">timedatectl</primary>
665 </indexterm>
666 </listitem>
667 </varlistentry>
668
669 <varlistentry id="udevadm">
670 <term><command>udevadm</command></term>
671 <listitem>
[e4d8c0cd]672 <para>Generic Udev administration tool: controls the udevd daemon,
673 provides info from the Udev database, monitors uevents, waits for
674 uevents to finish, tests Udev configuration, and triggers uevents
[930578e4]675 for a given device</para>
[686badf]676 <indexterm zone="ch-system-systemd udevadm">
677 <primary sortas="b-udevadm">udevadm</primary>
[f896e21c]678 </indexterm>
679 </listitem>
680 </varlistentry>
681
[5bbc896]682 <varlistentry id="libsystemd">
683 <term><filename class="libraryfile">libsystemd</filename></term>
[e4d8c0cd]684 <listitem>
[930578e4]685 <para>systemd utility library</para>
[5bbc896]686 <indexterm zone="ch-system-systemd libsystemd">
687 <primary sortas="c-libsystemd">libsystemd</primary>
[e4d8c0cd]688 </indexterm>
689 </listitem>
690 </varlistentry>
691
692 <varlistentry id="libudev">
693 <term><filename class="libraryfile">libudev</filename></term>
694 <listitem>
[930578e4]695 <para>A library to access Udev device information</para>
[e4d8c0cd]696 <indexterm zone="ch-system-systemd libudev">
697 <primary sortas="c-libudev">libudev</primary>
698 </indexterm>
699 </listitem>
700 </varlistentry>
701
[f896e21c]702 </variablelist>
703
704 </sect2>
705
706</sect1>
Note: See TracBrowser for help on using the repository browser.