1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-systemd" role="wrap" revision="systemd">
|
---|
9 | <?dbhtml filename="systemd.html"?>
|
---|
10 |
|
---|
11 | <sect1info condition="script">
|
---|
12 | <productname>systemd</productname>
|
---|
13 | <productnumber>&systemd-version;</productnumber>
|
---|
14 | <address>&systemd-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
17 | <title>Systemd-&systemd-version;</title>
|
---|
18 |
|
---|
19 | <indexterm zone="ch-system-systemd">
|
---|
20 | <primary sortas="a-systemd">systemd</primary>
|
---|
21 | </indexterm>
|
---|
22 |
|
---|
23 | <sect2 role="package">
|
---|
24 | <title/>
|
---|
25 |
|
---|
26 | <para>The systemd package contains programs for controlling the startup,
|
---|
27 | running, and shutdown of the system.</para>
|
---|
28 |
|
---|
29 | <segmentedlist>
|
---|
30 | <segtitle>&buildtime;</segtitle>
|
---|
31 | <segtitle>&diskspace;</segtitle>
|
---|
32 |
|
---|
33 | <seglistitem>
|
---|
34 | <seg>&systemd-ch6-sbu;</seg>
|
---|
35 | <seg>&systemd-ch6-du;</seg>
|
---|
36 | </seglistitem>
|
---|
37 | </segmentedlist>
|
---|
38 | </sect2>
|
---|
39 |
|
---|
40 | <sect2 role="installation">
|
---|
41 | <title>Installation of systemd</title>
|
---|
42 |
|
---|
43 | <para>Create a symlink to work around missing xsltproc:</para>
|
---|
44 |
|
---|
45 | <screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen>
|
---|
46 |
|
---|
47 | <para>Because we have not yet installed the final version of Util-Linux,
|
---|
48 | create links to the libraries in the approprite location:</para>
|
---|
49 |
|
---|
50 | <screen><userinput remap="pre">for file in /tools/lib/lib{blkid,mount,uuid}*; do
|
---|
51 | ln -sf $file /usr/lib/
|
---|
52 | done</userinput></screen>
|
---|
53 |
|
---|
54 | <para>Set up the man pages:</para>
|
---|
55 |
|
---|
56 | <screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
|
---|
57 |
|
---|
58 | <para>Remove tests that cannot be built in chroot:</para>
|
---|
59 |
|
---|
60 | <screen><userinput remap="pre">sed '166,$ d' -i src/resolve/meson.build</userinput></screen>
|
---|
61 |
|
---|
62 | <para>Apply a patch to fix a build failure with glibc-2.28:</para>
|
---|
63 |
|
---|
64 | <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-glibc_statx_fix-1.patch</userinput></screen>
|
---|
65 |
|
---|
66 | <para>Apply a patch to fix a build failure with meson-0.48.0:</para>
|
---|
67 |
|
---|
68 | <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-meson-0.48.0_fixes-1.patch</userinput></screen>
|
---|
69 |
|
---|
70 | <para>Remove an unneeded group,
|
---|
71 | <systemitem class="groupname">render</systemitem>, from the default udev
|
---|
72 | rules:</para>
|
---|
73 |
|
---|
74 | <screen><userinput remap="pre">sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in</userinput></screen>
|
---|
75 |
|
---|
76 | <para>Prepare systemd for compilation:</para>
|
---|
77 |
|
---|
78 | <screen><userinput remap="configure">mkdir -p build
|
---|
79 | cd build
|
---|
80 |
|
---|
81 | PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib64/pkgconfig" \
|
---|
82 | LANG=en_US.UTF-8 \
|
---|
83 | meson --prefix=/usr \
|
---|
84 | --sysconfdir=/etc \
|
---|
85 | --localstatedir=/var \
|
---|
86 | -Dblkid=true \
|
---|
87 | -Dbuildtype=release \
|
---|
88 | -Ddefault-dnssec=no \
|
---|
89 | -Dfirstboot=false \
|
---|
90 | -Dinstall-tests=false \
|
---|
91 | -Dkill-path=/bin/kill \
|
---|
92 | -Dkmod-path=/bin/kmod \
|
---|
93 | -Dldconfig=false \
|
---|
94 | -Dmount-path=/bin/mount \
|
---|
95 | -Drootprefix= \
|
---|
96 | -Drootlibdir=/lib \
|
---|
97 | -Dsplit-usr=true \
|
---|
98 | -Dsulogin-path=/sbin/sulogin \
|
---|
99 | -Dsysusers=false \
|
---|
100 | -Dumount-path=/bin/umount \
|
---|
101 | -Db_lto=false \
|
---|
102 | ..</userinput></screen>
|
---|
103 |
|
---|
104 | <variablelist>
|
---|
105 | <title>The meaning of the meson options:</title>
|
---|
106 |
|
---|
107 | <varlistentry>
|
---|
108 | <term><parameter>-D*-path=*</parameter></term>
|
---|
109 | <listitem>
|
---|
110 | <para>These switches provide location of binaries needed by
|
---|
111 | systemd at runtime that have not yet been installed, or who's
|
---|
112 | pkgconfig files are currently only in
|
---|
113 | <filename>/tools/lib/pkgconfig</filename>.</para>
|
---|
114 | </listitem>
|
---|
115 | </varlistentry>
|
---|
116 |
|
---|
117 | <varlistentry>
|
---|
118 | <term><parameter>-Ddefault-dnssec=no</parameter></term>
|
---|
119 | <listitem>
|
---|
120 | <para>This switch turns off the experimental DNSSEC support.</para>
|
---|
121 | </listitem>
|
---|
122 | </varlistentry>
|
---|
123 |
|
---|
124 | <varlistentry>
|
---|
125 | <term><parameter>-Dfirstboot=false</parameter></term>
|
---|
126 | <listitem>
|
---|
127 | <para>This switch prevents installation of systemd
|
---|
128 | services responsible for setting up the system for
|
---|
129 | the first time. They are not useful for LFS because
|
---|
130 | everything is done manually.</para>
|
---|
131 | </listitem>
|
---|
132 | </varlistentry>
|
---|
133 |
|
---|
134 | <varlistentry>
|
---|
135 | <term><parameter>-Dinstall-tests=false</parameter></term>
|
---|
136 | <listitem>
|
---|
137 | <para>This switch prevents installation of the compiled tests.</para>
|
---|
138 | </listitem>
|
---|
139 | </varlistentry>
|
---|
140 |
|
---|
141 | <varlistentry>
|
---|
142 | <term><parameter>-Dldconfig=false</parameter></term>
|
---|
143 | <listitem>
|
---|
144 | <para>This switch prevents installation of a systemd unit that runs
|
---|
145 | <command>ldconfig</command> at boot, which is not useful for source
|
---|
146 | distributions such as LFS and makes the boot time longer. Remove it
|
---|
147 | if the described feature is desired.</para>
|
---|
148 | </listitem>
|
---|
149 | </varlistentry>
|
---|
150 |
|
---|
151 | <varlistentry>
|
---|
152 | <term><parameter>-Droot*</parameter></term>
|
---|
153 | <listitem>
|
---|
154 | <para>These switches ensure that core programs and
|
---|
155 | shared libraries are installed in the subdirectories
|
---|
156 | of the root partition.</para>
|
---|
157 | </listitem>
|
---|
158 | </varlistentry>
|
---|
159 |
|
---|
160 | <varlistentry>
|
---|
161 | <term><parameter>-Dsplit-usr=true</parameter></term>
|
---|
162 | <listitem>
|
---|
163 | <para>This switch ensures that systemd will work on
|
---|
164 | systems where /bin, /lib and /sbin directories are not
|
---|
165 | symlinks to their /usr counterparts.</para>
|
---|
166 | </listitem>
|
---|
167 | </varlistentry>
|
---|
168 |
|
---|
169 | <varlistentry>
|
---|
170 | <term><parameter>-Dsysusers=false</parameter></term>
|
---|
171 | <listitem>
|
---|
172 | <para>This switch prevents installation of systemd
|
---|
173 | services responsible for setting up the
|
---|
174 | <filename>/etc/group</filename> and
|
---|
175 | <filename>/etc/passwd</filename> files. Both files
|
---|
176 | were created earlier in this chapter.</para>
|
---|
177 | </listitem>
|
---|
178 | </varlistentry>
|
---|
179 |
|
---|
180 | </variablelist>
|
---|
181 |
|
---|
182 | <para>Compile the package:</para>
|
---|
183 |
|
---|
184 | <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
|
---|
185 | <!--
|
---|
186 | <para>To test the package, execute the following command:</para>
|
---|
187 |
|
---|
188 | <screen><userinput remap="test">LANG=en_US.UTF-8 ninja test</userinput></screen>
|
---|
189 | -->
|
---|
190 | <para>Install the package:</para>
|
---|
191 |
|
---|
192 | <screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
|
---|
193 |
|
---|
194 | <para>Remove an unnecessary directory:</para>
|
---|
195 |
|
---|
196 | <screen><userinput remap="install">rm -rfv /usr/lib/rpm
|
---|
197 | <!--
|
---|
198 | <para>Create the Sysvinit compatibility symlinks, so systemd is used
|
---|
199 | as the default init system:</para>
|
---|
200 |
|
---|
201 | <screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do
|
---|
202 | ln -sfv ../bin/systemctl /sbin/${tool}
|
---|
203 | done
|
---|
204 | ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen>
|
---|
205 |
|
---|
206 | <para>Remove our earlier created symlink for xsltproc:</para>
|
---|
207 | -->
|
---|
208 | rm -f /usr/bin/xsltproc</userinput></screen>
|
---|
209 |
|
---|
210 | <para>Create the <filename>/etc/machine-id</filename> file needed by
|
---|
211 | <command>systemd-journald</command>:</para>
|
---|
212 |
|
---|
213 | <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
|
---|
214 |
|
---|
215 | <para>Create the <filename>/lib/systemd/systemd-user-sessions</filename>
|
---|
216 | script to allow unprivileged user logins without
|
---|
217 | <application>systemd-logind</application>:</para>
|
---|
218 |
|
---|
219 | <screen><userinput remap="adjust">cat > /lib/systemd/systemd-user-sessions << "EOF"
|
---|
220 | #!/bin/bash
|
---|
221 | rm -f /run/nologin
|
---|
222 | EOF
|
---|
223 | chmod 755 /lib/systemd/systemd-user-sessions</userinput></screen>
|
---|
224 |
|
---|
225 | </sect2>
|
---|
226 |
|
---|
227 | <sect2 id="contents-systemd" role="content">
|
---|
228 | <title>Contents of systemd</title>
|
---|
229 |
|
---|
230 | <segmentedlist>
|
---|
231 | <segtitle>Installed programs</segtitle>
|
---|
232 | <segtitle>Installed libraries</segtitle>
|
---|
233 | <segtitle>Installed directories</segtitle>
|
---|
234 |
|
---|
235 | <seglistitem>
|
---|
236 | <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl,
|
---|
237 | kernel-install, localectl, loginctl, machinectl, networkctl, poweroff,
|
---|
238 | reboot, runlevel, shutdown, systemctl, systemd-analyze,
|
---|
239 | systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
|
---|
240 | systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb,
|
---|
241 | systemd-inhibit, systemd-machine-id-setup, systemd-mount,
|
---|
242 | systemd-notify, systemd-nspawn, systemd-path, systemd-resolve,
|
---|
243 | systemd-run, systemd-socket-activate,
|
---|
244 | systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent,
|
---|
245 | telinit, timedatectl, and udevadm</seg>
|
---|
246 | <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
|
---|
247 | libnss_resolve.so.2, libnss_systemd.so.2,
|
---|
248 | libsystemd.so, libsystemd-shared-231.so,
|
---|
249 | and libudev.so</seg>
|
---|
250 | <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
|
---|
251 | /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
|
---|
252 | /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd,
|
---|
253 | /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d,
|
---|
254 | /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d,
|
---|
255 | /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
|
---|
256 | /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
|
---|
257 | </seglistitem>
|
---|
258 | </segmentedlist>
|
---|
259 |
|
---|
260 | <variablelist>
|
---|
261 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
262 | <?dbfo list-presentation="list"?>
|
---|
263 | <?dbhtml list-presentation="table"?>
|
---|
264 |
|
---|
265 | <varlistentry id="bootctl">
|
---|
266 | <term><command>bootctl</command></term>
|
---|
267 | <listitem>
|
---|
268 | <para>Used to query the firmware and boot manager settings</para>
|
---|
269 | <indexterm zone="ch-system-systemd bootctl">
|
---|
270 | <primary sortas="b-bootctl">bootctl</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="busctl">
|
---|
276 | <term><command>busctl</command></term>
|
---|
277 | <listitem>
|
---|
278 | <para>Used to introspect and monitor the D-Bus bus</para>
|
---|
279 | <indexterm zone="ch-system-systemd busctl">
|
---|
280 | <primary sortas="b-busctl">busctl</primary>
|
---|
281 | </indexterm>
|
---|
282 | </listitem>
|
---|
283 | </varlistentry>
|
---|
284 |
|
---|
285 | <varlistentry id="coredumpctl">
|
---|
286 | <term><command>coredumpctl</command></term>
|
---|
287 | <listitem>
|
---|
288 | <para>Used to retrieve coredumps from the systemd journal</para>
|
---|
289 | <indexterm zone="ch-system-systemd coredumpctl">
|
---|
290 | <primary sortas="b-coredumpctl">coredumpctl</primary>
|
---|
291 | </indexterm>
|
---|
292 | </listitem>
|
---|
293 | </varlistentry>
|
---|
294 |
|
---|
295 | <varlistentry id="halt">
|
---|
296 | <term><command>halt</command></term>
|
---|
297 | <listitem>
|
---|
298 | <para>Normally invokes <command>shutdown</command> with the
|
---|
299 | <parameter>-h</parameter> option, except when already in run-level 0,
|
---|
300 | then it tells the kernel to halt the system; it notes in the
|
---|
301 | file <filename>/var/log/wtmp</filename> that the system is being
|
---|
302 | brought down</para>
|
---|
303 | <indexterm zone="ch-system-systemd halt">
|
---|
304 | <primary sortas="b-halt">halt</primary>
|
---|
305 | </indexterm>
|
---|
306 | </listitem>
|
---|
307 | </varlistentry>
|
---|
308 |
|
---|
309 | <varlistentry id="hostnamectl">
|
---|
310 | <term><command>hostnamectl</command></term>
|
---|
311 | <listitem>
|
---|
312 | <para>Used to query and change the system hostname and related
|
---|
313 | settings</para>
|
---|
314 | <indexterm zone="ch-system-systemd hostnamectl">
|
---|
315 | <primary sortas="b-hostnamectl">hostnamectl</primary>
|
---|
316 | </indexterm>
|
---|
317 | </listitem>
|
---|
318 | </varlistentry>
|
---|
319 |
|
---|
320 | <varlistentry id="init">
|
---|
321 | <term><command>init</command></term>
|
---|
322 | <listitem>
|
---|
323 | <para>The first process to be started when the kernel has initialized
|
---|
324 | the hardware which takes over the boot process and starts all
|
---|
325 | processes according to its configuration files</para>
|
---|
326 | <indexterm zone="ch-system-systemd init">
|
---|
327 | <primary sortas="b-init">init</primary>
|
---|
328 | </indexterm>
|
---|
329 | </listitem>
|
---|
330 | </varlistentry>
|
---|
331 |
|
---|
332 | <varlistentry id="journalctl">
|
---|
333 | <term><command>journalctl</command></term>
|
---|
334 | <listitem>
|
---|
335 | <para>Used to query the contents of the systemd journal</para>
|
---|
336 | <indexterm zone="ch-system-systemd journalctl">
|
---|
337 | <primary sortas="b-journalctl">journalctl</primary>
|
---|
338 | </indexterm>
|
---|
339 | </listitem>
|
---|
340 | </varlistentry>
|
---|
341 |
|
---|
342 | <varlistentry id="kernel-install">
|
---|
343 | <term><command>kernel-install</command></term>
|
---|
344 | <listitem>
|
---|
345 | <para>Used to add and remove kernel and initramfs images to and
|
---|
346 | from /boot</para>
|
---|
347 | <indexterm zone="ch-system-systemd kernel-install">
|
---|
348 | <primary sortas="b-kernel-install">kernel-install</primary>
|
---|
349 | </indexterm>
|
---|
350 | </listitem>
|
---|
351 | </varlistentry>
|
---|
352 |
|
---|
353 | <varlistentry id="localectl">
|
---|
354 | <term><command>localectl</command></term>
|
---|
355 | <listitem>
|
---|
356 | <para>Used to query and change the system locale and keyboard layout
|
---|
357 | settings</para>
|
---|
358 | <indexterm zone="ch-system-systemd localectl">
|
---|
359 | <primary sortas="b-localectl">localectl</primary>
|
---|
360 | </indexterm>
|
---|
361 | </listitem>
|
---|
362 | </varlistentry>
|
---|
363 |
|
---|
364 | <varlistentry id="loginctl">
|
---|
365 | <term><command>loginctl</command></term>
|
---|
366 | <listitem>
|
---|
367 | <para>Used to introspect and control the state of the systemd Login
|
---|
368 | Manager</para>
|
---|
369 | <indexterm zone="ch-system-systemd loginctl">
|
---|
370 | <primary sortas="b-loginctl">loginctl</primary>
|
---|
371 | </indexterm>
|
---|
372 | </listitem>
|
---|
373 | </varlistentry>
|
---|
374 |
|
---|
375 | <varlistentry id="machinectl">
|
---|
376 | <term><command>machinectl</command></term>
|
---|
377 | <listitem>
|
---|
378 | <para>Used to introspect and control the state of the systemd Virtual
|
---|
379 | Machine and Container Registration Manager</para>
|
---|
380 | <indexterm zone="ch-system-systemd machinectl">
|
---|
381 | <primary sortas="b-machinectl">machinectl</primary>
|
---|
382 | </indexterm>
|
---|
383 | </listitem>
|
---|
384 | </varlistentry>
|
---|
385 |
|
---|
386 | <varlistentry id="networkctl">
|
---|
387 | <term><command>networkctl</command></term>
|
---|
388 | <listitem>
|
---|
389 | <para>Used to introspect the state of the network links as seen by
|
---|
390 | systemd-networkd</para>
|
---|
391 | <indexterm zone="ch-system-systemd networkctl">
|
---|
392 | <primary sortas="b-networkctl">networkctl</primary>
|
---|
393 | </indexterm>
|
---|
394 | </listitem>
|
---|
395 | </varlistentry>
|
---|
396 |
|
---|
397 | <varlistentry id="poweroff">
|
---|
398 | <term><command>poweroff</command></term>
|
---|
399 | <listitem>
|
---|
400 | <para>Tells the kernel to halt the system and switch off the computer
|
---|
401 | (see <command>halt</command>)</para>
|
---|
402 | <indexterm zone="ch-system-systemd poweroff">
|
---|
403 | <primary sortas="b-poweroff">poweroff</primary>
|
---|
404 | </indexterm>
|
---|
405 | </listitem>
|
---|
406 | </varlistentry>
|
---|
407 |
|
---|
408 | <varlistentry id="reboot">
|
---|
409 | <term><command>reboot</command></term>
|
---|
410 | <listitem>
|
---|
411 | <para>Tells the kernel to reboot the system (see
|
---|
412 | <command>halt</command>)</para>
|
---|
413 | <indexterm zone="ch-system-systemd reboot">
|
---|
414 | <primary sortas="b-reboot">reboot</primary>
|
---|
415 | </indexterm>
|
---|
416 | </listitem>
|
---|
417 | </varlistentry>
|
---|
418 |
|
---|
419 | <varlistentry id="runlevel">
|
---|
420 | <term><command>runlevel</command></term>
|
---|
421 | <listitem>
|
---|
422 | <para>Reports the previous and the current run-level, as noted in the
|
---|
423 | last run-level record in <filename>/var/run/utmp</filename></para>
|
---|
424 | <indexterm zone="ch-system-systemd runlevel">
|
---|
425 | <primary sortas="b-runlevel">runlevel</primary>
|
---|
426 | </indexterm>
|
---|
427 | </listitem>
|
---|
428 | </varlistentry>
|
---|
429 |
|
---|
430 | <varlistentry id="shutdown">
|
---|
431 | <term><command>shutdown</command></term>
|
---|
432 | <listitem>
|
---|
433 | <para>Brings the system down in a secure way, signaling all processes
|
---|
434 | and notifying all logged-in users</para>
|
---|
435 | <indexterm zone="ch-system-systemd shutdown">
|
---|
436 | <primary sortas="b-shutdown">shutdown</primary>
|
---|
437 | </indexterm>
|
---|
438 | </listitem>
|
---|
439 | </varlistentry>
|
---|
440 |
|
---|
441 | <varlistentry id="systemctl">
|
---|
442 | <term><command>systemctl</command></term>
|
---|
443 | <listitem>
|
---|
444 | <para>Used to introspect and control the state of the systemd system
|
---|
445 | and service manager</para>
|
---|
446 | <indexterm zone="ch-system-systemd systemctl">
|
---|
447 | <primary sortas="b-systemctl">systemctl</primary>
|
---|
448 | </indexterm>
|
---|
449 | </listitem>
|
---|
450 | </varlistentry>
|
---|
451 |
|
---|
452 | <varlistentry id="systemd-analyze">
|
---|
453 | <term><command>systemd-analyze</command></term>
|
---|
454 | <listitem>
|
---|
455 | <para>Used to determine system boot-up performance of the current
|
---|
456 | boot</para>
|
---|
457 | <indexterm zone="ch-system-systemd systemd-analyze">
|
---|
458 | <primary sortas="b-systemd-analyze">systemd-analyze</primary>
|
---|
459 | </indexterm>
|
---|
460 | </listitem>
|
---|
461 | </varlistentry>
|
---|
462 |
|
---|
463 | <varlistentry id="systemd-ask-password">
|
---|
464 | <term><command>systemd-ask-password</command></term>
|
---|
465 | <listitem>
|
---|
466 | <para>Used to query a system password or passphrase from the user,
|
---|
467 | using a question message specified on the command line</para>
|
---|
468 | <indexterm zone="ch-system-systemd systemd-ask-password">
|
---|
469 | <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
|
---|
470 | </indexterm>
|
---|
471 | </listitem>
|
---|
472 | </varlistentry>
|
---|
473 |
|
---|
474 | <varlistentry id="systemd-cat">
|
---|
475 | <term><command>systemd-cat</command></term>
|
---|
476 | <listitem>
|
---|
477 | <para>Used to connect STDOUT and STDERR of a process with the Journal
|
---|
478 | </para>
|
---|
479 | <indexterm zone="ch-system-systemd systemd-cat">
|
---|
480 | <primary sortas="b-systemd-cat">systemd-cat</primary>
|
---|
481 | </indexterm>
|
---|
482 | </listitem>
|
---|
483 | </varlistentry>
|
---|
484 |
|
---|
485 | <varlistentry id="systemd-cgls">
|
---|
486 | <term><command>systemd-cgls</command></term>
|
---|
487 | <listitem>
|
---|
488 | <para>Recursively shows the contents of the selected Linux control
|
---|
489 | group hierarchy in a tree</para>
|
---|
490 | <indexterm zone="ch-system-systemd systemd-cgls">
|
---|
491 | <primary sortas="b-systemd-cgls">systemd-cgls</primary>
|
---|
492 | </indexterm>
|
---|
493 | </listitem>
|
---|
494 | </varlistentry>
|
---|
495 |
|
---|
496 | <varlistentry id="systemd-cgtop">
|
---|
497 | <term><command>systemd-cgtop</command></term>
|
---|
498 | <listitem>
|
---|
499 | <para>Shows the top control groups of the local Linux control group
|
---|
500 | hierarchy, ordered by their CPU, memory and disk I/O load</para>
|
---|
501 | <indexterm zone="ch-system-systemd systemd-cgtop">
|
---|
502 | <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
|
---|
503 | </indexterm>
|
---|
504 | </listitem>
|
---|
505 | </varlistentry>
|
---|
506 |
|
---|
507 | <varlistentry id="systemd-delta">
|
---|
508 | <term><command>systemd-delta</command></term>
|
---|
509 | <listitem>
|
---|
510 | <para>Used to identify and compare configuration files in
|
---|
511 | <filename class="directory">/etc</filename> that override default
|
---|
512 | counterparts in <filename class="directory">/usr</filename></para>
|
---|
513 | <indexterm zone="ch-system-systemd systemd-delta">
|
---|
514 | <primary sortas="b-systemd-delta">systemd-delta</primary>
|
---|
515 | </indexterm>
|
---|
516 | </listitem>
|
---|
517 | </varlistentry>
|
---|
518 |
|
---|
519 | <varlistentry id="systemd-detect-virt">
|
---|
520 | <term><command>systemd-detect-virt</command></term>
|
---|
521 | <listitem>
|
---|
522 | <para>Detects execution in a virtualized environment</para>
|
---|
523 | <indexterm zone="ch-system-systemd systemd-detect-virt">
|
---|
524 | <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
|
---|
525 | </indexterm>
|
---|
526 | </listitem>
|
---|
527 | </varlistentry>
|
---|
528 |
|
---|
529 | <varlistentry id="systemd-escape">
|
---|
530 | <term><command>systemd-escape</command></term>
|
---|
531 | <listitem>
|
---|
532 | <para>Used to escape strings for inclusion in systemd unit
|
---|
533 | names</para>
|
---|
534 | <indexterm zone="ch-system-systemd systemd-escape">
|
---|
535 | <primary sortas="b-systemd-escape">systemd-escape</primary>
|
---|
536 | </indexterm>
|
---|
537 | </listitem>
|
---|
538 | </varlistentry>
|
---|
539 |
|
---|
540 | <varlistentry id="systemd-hwdb">
|
---|
541 | <term><command>systemd-hwdb</command></term>
|
---|
542 | <listitem>
|
---|
543 | <para>Used to manage hardware database (hwdb)</para>
|
---|
544 | <indexterm zone="ch-system-systemd systemd-hwdb">
|
---|
545 | <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
|
---|
546 | </indexterm>
|
---|
547 | </listitem>
|
---|
548 | </varlistentry>
|
---|
549 |
|
---|
550 | <varlistentry id="systemd-inhibit">
|
---|
551 | <term><command>systemd-inhibit</command></term>
|
---|
552 | <listitem>
|
---|
553 | <para>Used to execute a program with a shutdown, sleep or idle
|
---|
554 | inhibitor lock taken</para>
|
---|
555 | <indexterm zone="ch-system-systemd systemd-inhibit">
|
---|
556 | <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
|
---|
557 | </indexterm>
|
---|
558 | </listitem>
|
---|
559 | </varlistentry>
|
---|
560 |
|
---|
561 | <varlistentry id="systemd-machine-id-setup">
|
---|
562 | <term><command>systemd-machine-id-setup</command></term>
|
---|
563 | <listitem>
|
---|
564 | <para>Used by system installer tools to initialize the machine ID
|
---|
565 | stored in <filename>/etc/machine-id</filename> at install time with a
|
---|
566 | randomly generated ID</para>
|
---|
567 | <indexterm zone="ch-system-systemd systemd-machine-id-setup">
|
---|
568 | <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
|
---|
569 | </indexterm>
|
---|
570 | </listitem>
|
---|
571 | </varlistentry>
|
---|
572 |
|
---|
573 | <varlistentry id="systemd-mount">
|
---|
574 | <term><command>systemd-mount</command></term>
|
---|
575 | <listitem>
|
---|
576 | <para>A tool to temporarily mount or auto-mount a drive.</para>
|
---|
577 | <indexterm zone="ch-system-systemd systemd-mount">
|
---|
578 | <primary sortas="b-systemd-mount">systemd-mount</primary>
|
---|
579 | </indexterm>
|
---|
580 | </listitem>
|
---|
581 | </varlistentry>
|
---|
582 |
|
---|
583 | <varlistentry id="systemd-notify">
|
---|
584 | <term><command>systemd-notify</command></term>
|
---|
585 | <listitem>
|
---|
586 | <para>Used by daemon scripts to notify the init system about status
|
---|
587 | changes</para>
|
---|
588 | <indexterm zone="ch-system-systemd systemd-notify">
|
---|
589 | <primary sortas="b-systemd-notify">systemd-notify</primary>
|
---|
590 | </indexterm>
|
---|
591 | </listitem>
|
---|
592 | </varlistentry>
|
---|
593 |
|
---|
594 | <varlistentry id="systemd-nspawn">
|
---|
595 | <term><command>systemd-nspawn</command></term>
|
---|
596 | <listitem>
|
---|
597 | <para>Used to run a command or OS in a light-weight namespace
|
---|
598 | container</para>
|
---|
599 | <indexterm zone="ch-system-systemd systemd-nspawn">
|
---|
600 | <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
|
---|
601 | </indexterm>
|
---|
602 | </listitem>
|
---|
603 | </varlistentry>
|
---|
604 |
|
---|
605 | <varlistentry id="systemd-path">
|
---|
606 | <term><command>systemd-path</command></term>
|
---|
607 | <listitem>
|
---|
608 | <para>Used to query system and user paths</para>
|
---|
609 | <indexterm zone="ch-system-systemd systemd-path">
|
---|
610 | <primary sortas="b-systemd-path">systemd-path</primary>
|
---|
611 | </indexterm>
|
---|
612 | </listitem>
|
---|
613 | </varlistentry>
|
---|
614 |
|
---|
615 | <varlistentry id="systemd-resolve">
|
---|
616 | <term><command>systemd-resolve</command></term>
|
---|
617 | <listitem>
|
---|
618 | <para>Used to resolve domain names, IPV4 and IPv6 addresses, DNS
|
---|
619 | resource records, and services</para>
|
---|
620 | <indexterm zone="ch-system-systemd systemd-resolve">
|
---|
621 | <primary sortas="b-systemd-resolve">systemd-resolve</primary>
|
---|
622 | </indexterm>
|
---|
623 | </listitem>
|
---|
624 | </varlistentry>
|
---|
625 |
|
---|
626 | <varlistentry id="systemd-run">
|
---|
627 | <term><command>systemd-run</command></term>
|
---|
628 | <listitem>
|
---|
629 | <para>Used to create and start a transient .service or a .scope unit
|
---|
630 | and run the specified command in it</para>
|
---|
631 | <indexterm zone="ch-system-systemd systemd-run">
|
---|
632 | <primary sortas="b-systemd-run">systemd-run</primary>
|
---|
633 | </indexterm>
|
---|
634 | </listitem>
|
---|
635 | </varlistentry>
|
---|
636 |
|
---|
637 | <!-- <varlistentry id="systemd-stdio-bridge">
|
---|
638 | <term><command>systemd-stdio-bridge</command></term>
|
---|
639 | <listitem>
|
---|
640 | <para>To be completed</para>
|
---|
641 | <indexterm zone="ch-system-systemd systemd-stdio-bridge">
|
---|
642 | <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>
|
---|
643 | </indexterm>
|
---|
644 | </listitem>
|
---|
645 | </varlistentry> -->
|
---|
646 |
|
---|
647 | <varlistentry id="systemd-socket-activate">
|
---|
648 | <term><command>systemd-socket-activate</command></term>
|
---|
649 | <listitem>
|
---|
650 | <para>A tool to listen on socket devices and launch a process upon
|
---|
651 | connection.</para>
|
---|
652 | <indexterm zone="ch-system-systemd systemd-socket-activate">
|
---|
653 | <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
|
---|
654 | </indexterm>
|
---|
655 | </listitem>
|
---|
656 | </varlistentry>
|
---|
657 |
|
---|
658 | <varlistentry id="systemd-tmpfiles">
|
---|
659 | <term><command>systemd-tmpfiles</command></term>
|
---|
660 | <listitem>
|
---|
661 | <para>Creates, deletes and cleans up volatile and temporary files and
|
---|
662 | directories, based on the configuration file format and location
|
---|
663 | specified in
|
---|
664 | <filename class="directory">tmpfiles.d</filename> directories</para>
|
---|
665 | <indexterm zone="ch-system-systemd systemd-tmpfiles">
|
---|
666 | <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
|
---|
667 | </indexterm>
|
---|
668 | </listitem>
|
---|
669 | </varlistentry>
|
---|
670 |
|
---|
671 | <varlistentry id="systemd-tty-ask-password-agent">
|
---|
672 | <term><command>systemd-tty-ask-password-agent</command></term>
|
---|
673 | <listitem>
|
---|
674 | <para>Used to list or process pending systemd password requests</para>
|
---|
675 | <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
|
---|
676 | <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
|
---|
677 | </indexterm>
|
---|
678 | </listitem>
|
---|
679 | </varlistentry>
|
---|
680 |
|
---|
681 | <varlistentry id="telinit">
|
---|
682 | <term><command>telinit</command></term>
|
---|
683 | <listitem>
|
---|
684 | <para>Tells <command>init</command> which run-level to change
|
---|
685 | to</para>
|
---|
686 | <indexterm zone="ch-system-systemd telinit">
|
---|
687 | <primary sortas="b-telinit">telinit</primary>
|
---|
688 | </indexterm>
|
---|
689 | </listitem>
|
---|
690 | </varlistentry>
|
---|
691 |
|
---|
692 | <varlistentry id="timedatectl">
|
---|
693 | <term><command>timedatectl</command></term>
|
---|
694 | <listitem>
|
---|
695 | <para>Used to query and change the system clock and its settings
|
---|
696 | </para>
|
---|
697 | <indexterm zone="ch-system-systemd timedatectl">
|
---|
698 | <primary sortas="b-timedatectl">timedatectl</primary>
|
---|
699 | </indexterm>
|
---|
700 | </listitem>
|
---|
701 | </varlistentry>
|
---|
702 |
|
---|
703 | <varlistentry id="udevadm">
|
---|
704 | <term><command>udevadm</command></term>
|
---|
705 | <listitem>
|
---|
706 | <para>Generic udev administration tool: controls the udevd daemon,
|
---|
707 | provides info from the Udev database, monitors uevents, waits for
|
---|
708 | uevents to finish, tests udev configuration, and triggers uevents
|
---|
709 | for a given device</para>
|
---|
710 | <indexterm zone="ch-system-systemd udevadm">
|
---|
711 | <primary sortas="b-udevadm">udevadm</primary>
|
---|
712 | </indexterm>
|
---|
713 | </listitem>
|
---|
714 | </varlistentry>
|
---|
715 |
|
---|
716 | <varlistentry id="libsystemd">
|
---|
717 | <term><filename class="libraryfile">libsystemd</filename></term>
|
---|
718 | <listitem>
|
---|
719 | <para>The main systemd utility library</para>
|
---|
720 | <indexterm zone="ch-system-systemd libsystemd">
|
---|
721 | <primary sortas="c-libsystemd">libsystemd</primary>
|
---|
722 | </indexterm>
|
---|
723 | </listitem>
|
---|
724 | </varlistentry>
|
---|
725 |
|
---|
726 | <varlistentry id="libudev">
|
---|
727 | <term><filename class="libraryfile">libudev</filename></term>
|
---|
728 | <listitem>
|
---|
729 | <para>A library to access Udev device information</para>
|
---|
730 | <indexterm zone="ch-system-systemd libudev">
|
---|
731 | <primary sortas="c-libudev">libudev</primary>
|
---|
732 | </indexterm>
|
---|
733 | </listitem>
|
---|
734 | </varlistentry>
|
---|
735 |
|
---|
736 | </variablelist>
|
---|
737 |
|
---|
738 | </sect2>
|
---|
739 |
|
---|
740 | </sect1>
|
---|