source: chapter06/systemd.xml@ 0d2e933

7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since 0d2e933 was e0ed60d, checked in by Krejzi <krejzi@…>, 10 years ago

Updated to systemd-217.

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

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