source: chapter06/systemd.xml@ e8d84ce

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 8.0 8.0-rc1 8.1 8.1-rc1 8.1-rc2 8.2 8.2-rc1 8.3 8.3-rc1 8.3-rc2 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 cross-chap5 ml-11.0 multilib nosym old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since e8d84ce was e8d84ce, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Added a security patch for systemd

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11130 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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