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