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