[d89bf75] | 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 | <sect1 id="ch-system-systemd" role="wrap"> |
---|
| 8 | <?dbhtml filename="systemd.html"?> |
---|
| 9 | |
---|
[24213983] | 10 | <title>Systemd-&systemd-version;</title> |
---|
[d89bf75] | 11 | |
---|
| 12 | <indexterm zone="ch-system-systemd"> |
---|
[27256f7] | 13 | <primary sortas="a-systemd">Systemd</primary> |
---|
[d89bf75] | 14 | </indexterm> |
---|
| 15 | |
---|
| 16 | <sect2 role="package"> |
---|
| 17 | <title/> |
---|
| 18 | |
---|
[0131d1b] | 19 | <para>The systemd package is a system and service manager for Linux |
---|
[d89bf75] | 20 | operating systems.</para> |
---|
| 21 | |
---|
| 22 | </sect2> |
---|
| 23 | |
---|
| 24 | <sect2 role="installation"> |
---|
[0131d1b] | 25 | <title>Installation of Systemd</title> |
---|
[d89bf75] | 26 | |
---|
[7db0c2e] | 27 | <para os="p1">Systemd 209 merged several libraries into |
---|
[ca5d69d] | 28 | <filename class="libraryfile">libsystemd</filename>, but some packages |
---|
| 29 | that use systemd still expect those separate libraries. Apply a patch |
---|
| 30 | to allow backwards compatibility with these packages by |
---|
| 31 | installing Pkg-config files for the old libraries:</para> |
---|
[49da1d5] | 32 | |
---|
| 33 | <screen os="p2"><userinput>patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> |
---|
| 34 | |
---|
[62afd55] | 35 | <para os="s1">Prevent the <filename>Makefile</filename> from trying to run |
---|
| 36 | <command>setcap</command> on <command>systemd-detect-virt</command>, |
---|
| 37 | which will fail if the kernel or file system does not support extended |
---|
| 38 | capabilities:</para> |
---|
| 39 | |
---|
| 40 | <screen os="s2"><userinput>sed -i '/virt-install-hook /d' Makefile.in</userinput></screen> |
---|
| 41 | |
---|
| 42 | <para os="s3">The <filename>timesyncd.conf</filename> file contains a |
---|
[ff6229f] | 43 | reference to a non-existent <filename>timesyncd.conf(5)</filename> man |
---|
| 44 | page. Remove that reference to avoid possible confusion:</para> |
---|
| 45 | |
---|
[62afd55] | 46 | <screen os="s4"><userinput>sed -i '/timesyncd.conf/d' src/timesync/timesyncd.conf.in</userinput></screen> |
---|
[ff6229f] | 47 | |
---|
[b27af42] | 48 | <para os="s5">By default, <command>systemd-fsck</command> will run |
---|
| 49 | <filename>/sbin/fsck</filename> with the <option>-l</option> option, which |
---|
| 50 | applies an <function>flock</function> on the file system being checked. |
---|
| 51 | This can conflict with an <function>flock</function> that |
---|
| 52 | systemd itself puts on the file system, which could result in problems |
---|
| 53 | booting. <command>fsck</command> will be fixed to avoid this problem in a |
---|
| 54 | future release of Util-linux, but for now we will work around the issue by |
---|
| 55 | simply preventing <command>systemd-fsck</command> from using <option>-l</option>:</para> |
---|
| 56 | |
---|
| 57 | <screen os="s6"><userinput>sed -i '/-l/d' src/fsck/fsck.c</userinput></screen> |
---|
| 58 | |
---|
[0131d1b] | 59 | <para os="a">Prepare systemd for compilation:</para> |
---|
[d89bf75] | 60 | |
---|
| 61 | <screen os="b"><userinput>./configure --prefix=/usr \ |
---|
| 62 | --sysconfdir=/etc --localstatedir=/var \ |
---|
[f66a6fc] | 63 | --libexecdir=/usr/lib --docdir=/usr/share/doc/systemd-&systemd-version; \ |
---|
| 64 | --with-rootprefix="" --with-rootlibdir=/lib \ |
---|
[3bff4bed] | 65 | --enable-split-usr --disable-gudev --with-kbd-loadkeys=/bin/loadkeys \ |
---|
[49da1d5] | 66 | --with-kbd-setfont=/bin/setfont --with-dbuspolicydir=/etc/dbus-1/system.d \ |
---|
| 67 | --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \ |
---|
| 68 | --with-dbussessionservicedir=/usr/share/dbus-1/services \ |
---|
| 69 | --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen> |
---|
[d89bf75] | 70 | |
---|
[0b3451f] | 71 | <variablelist os="c"> |
---|
| 72 | <title>The meaning of the configure options:</title> |
---|
[d89bf75] | 73 | |
---|
[0b3451f] | 74 | <varlistentry> |
---|
| 75 | <term><parameter>--with-root*</parameter></term> |
---|
| 76 | <listitem> |
---|
| 77 | <para>These switches ensure that core programs and |
---|
| 78 | shared libraries are installed in the subdirectories |
---|
| 79 | of the root partition.</para> |
---|
| 80 | </listitem> |
---|
| 81 | </varlistentry> |
---|
[d89bf75] | 82 | |
---|
[0b3451f] | 83 | <varlistentry> |
---|
| 84 | <term><parameter>--enable-split-usr</parameter></term> |
---|
| 85 | <listitem> |
---|
[0131d1b] | 86 | <para>This switch ensures that systemd will work on |
---|
[0b3451f] | 87 | systems where /bin, /lib and /sbin directories are not |
---|
| 88 | symlinks to their /usr counterparts.</para> |
---|
| 89 | </listitem> |
---|
| 90 | </varlistentry> |
---|
[d89bf75] | 91 | |
---|
[0b3451f] | 92 | <varlistentry> |
---|
[ec6e128] | 93 | <term><parameter>--disable-gudev</parameter></term> |
---|
[0b3451f] | 94 | <listitem> |
---|
[0131d1b] | 95 | <para>This switch prevents systemd from building |
---|
[ec6e128] | 96 | <filename class="libraryfile">libgudev</filename> as it requires |
---|
| 97 | Glib, which is not installed in CLFS.</para> |
---|
[0b3451f] | 98 | </listitem> |
---|
| 99 | </varlistentry> |
---|
[d89bf75] | 100 | |
---|
[49da1d5] | 101 | <varlistentry> |
---|
| 102 | <term><parameter>--with-dbus*</parameter></term> |
---|
| 103 | <listitem> |
---|
| 104 | <para>These switches ensure that D-Bus configuration files get |
---|
| 105 | installed to the correct locations.</para> |
---|
| 106 | </listitem> |
---|
| 107 | </varlistentry> |
---|
[0b3451f] | 108 | </variablelist> |
---|
| 109 | |
---|
| 110 | <para os="d">Compile the package:</para> |
---|
| 111 | |
---|
| 112 | <screen os="e"><userinput>make</userinput></screen> |
---|
| 113 | |
---|
| 114 | <para os="f">Prevent a broken test case from running:</para> |
---|
| 115 | |
---|
[0886dd9] | 116 | <screen os="g"><userinput remap="test">sed -e "s:test/udev-test.pl::g" \ |
---|
[49da1d5] | 117 | -e "s:test-bus-cleanup\$(EXEEXT) ::g" \ |
---|
| 118 | -e "s:test-bus-gvariant\$(EXEEXT) ::g" \ |
---|
| 119 | -i Makefile</userinput></screen> |
---|
[0b3451f] | 120 | |
---|
[e167dd9] | 121 | <para os="h">To test the results, issue:</para> |
---|
[0b3451f] | 122 | |
---|
| 123 | <screen os="i"><userinput remap="test">make check</userinput></screen> |
---|
| 124 | |
---|
| 125 | <para os="j">Install the package:</para> |
---|
| 126 | |
---|
| 127 | <screen os="k"><userinput>make install</userinput></screen> |
---|
| 128 | |
---|
[4547561] | 129 | <para os="l">Install documentation files that are not installed by default:</para> |
---|
[f66a6fc] | 130 | |
---|
[4547561] | 131 | <screen os="m"><userinput>install -v -m644 man/*.html /usr/share/doc/systemd-&systemd-version;</userinput></screen> |
---|
[f66a6fc] | 132 | |
---|
[0b3451f] | 133 | <para os="n">Move NSS myhostname library to <filename class="directory">/lib |
---|
| 134 | </filename>:</para> |
---|
| 135 | |
---|
| 136 | <screen os="o"><userinput>mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen> |
---|
| 137 | |
---|
| 138 | <para os="p">Remove an unnecessary directory:</para> |
---|
| 139 | |
---|
| 140 | <screen os="q"><userinput>rm -rfv /usr/lib/rpm</userinput></screen> |
---|
| 141 | |
---|
| 142 | <para os="r">Create symlinks for backwards-compatibility with Sysvinit:</para> |
---|
[d150ded] | 143 | |
---|
[0b3451f] | 144 | <screen os="s"><userinput>for tool in runlevel reboot shutdown poweroff halt telinit; do |
---|
[d150ded] | 145 | ln -sfv ../bin/systemctl /sbin/$tool |
---|
| 146 | done |
---|
| 147 | ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen> |
---|
| 148 | |
---|
[0b3451f] | 149 | <para os="t">Modify a configuration file which references a group that |
---|
[d150ded] | 150 | doesn't exist:</para> |
---|
| 151 | |
---|
[0b3451f] | 152 | <screen os="u"><userinput>sed -i "s@root lock@root root@g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen> |
---|
[d150ded] | 153 | |
---|
[d89bf75] | 154 | </sect2> |
---|
| 155 | |
---|
| 156 | <sect2 id="conf-systemd" role="configuration"> |
---|
[24213983] | 157 | <title>Configuring Systemd</title> |
---|
[d89bf75] | 158 | |
---|
| 159 | <indexterm zone="conf-systemd"> |
---|
| 160 | <primary sortas="a-systemd">systemd</primary> |
---|
| 161 | <secondary>configuring</secondary></indexterm> |
---|
| 162 | |
---|
| 163 | <indexterm zone="conf-systemd"> |
---|
| 164 | <primary sortas="e-/etc/os-release">/etc/os-release</primary> |
---|
| 165 | </indexterm> |
---|
| 166 | |
---|
[d150ded] | 167 | <para>Create <filename>/etc/machine-id</filename> which is needed |
---|
| 168 | by Journald:</para> |
---|
| 169 | |
---|
| 170 | <screen><userinput>systemd-machine-id-setup</userinput></screen> |
---|
| 171 | |
---|
[d89bf75] | 172 | <para>Create a file to identify the operating system. |
---|
| 173 | <command>systemd</command> will use this file on boot to put information |
---|
| 174 | on the screen.</para> |
---|
| 175 | |
---|
| 176 | <screen><userinput>cat > /etc/os-release << "EOF" |
---|
| 177 | # Begin /etc/os-release |
---|
| 178 | |
---|
| 179 | NAME=Cross-LFS |
---|
| 180 | ID=clfs |
---|
| 181 | |
---|
| 182 | PRETTY_NAME=Cross Linux From Scratch |
---|
| 183 | ANSI_COLOR=0;33 |
---|
| 184 | |
---|
| 185 | VERSION=&version; |
---|
| 186 | VERSION_ID=&versionid; |
---|
| 187 | |
---|
| 188 | # End /etc/os-release |
---|
| 189 | EOF</userinput></screen> |
---|
| 190 | |
---|
| 191 | </sect2> |
---|
| 192 | |
---|
| 193 | <sect2 id="contents-systemd" role="content"> |
---|
[24213983] | 194 | <title>Contents of Systemd</title> |
---|
[d89bf75] | 195 | |
---|
| 196 | <segmentedlist> |
---|
| 197 | <segtitle>Installed programs</segtitle> |
---|
| 198 | <segtitle>Installed libraries</segtitle> |
---|
| 199 | <segtitle>Installed directories</segtitle> |
---|
| 200 | |
---|
| 201 | <seglistitem> |
---|
[c8a83d8] | 202 | <seg>bootctl, busctl, halt (link to systemctl), hostnamectl, |
---|
| 203 | init (link to systemd), journalctl, kernel-install, localectl, loginctl, |
---|
| 204 | machinectl, poweroff (link to systemctl), reboot (link to systemctl), |
---|
| 205 | runlevel (link to systemctl), shutdown (link to systemctl), |
---|
| 206 | systemctl, system-analyze, systemd-ask-password, systemd-cat, |
---|
| 207 | systemd-cgls, systemd-cgtop, systemd-coredumpctl, systemd-delta, |
---|
| 208 | systemd-detect-virt, systemd-inhibit, systemd-machine-id-setup, |
---|
| 209 | systemd-notify, systemd-nspawn, systemd-run, systemd-stdio-bridge |
---|
| 210 | (link to systemd-bus-proxyd), systemd-tmpfiles, |
---|
| 211 | systemd-tty-ask-password-agent, telinit (link to systemctl), |
---|
| 212 | timedatectl, udevadm</seg> |
---|
| 213 | <seg>libnss_myhostname.so, libsystemd.so, libudev.so</seg> |
---|
| 214 | <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, |
---|
| 215 | /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, |
---|
| 216 | /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd, |
---|
| 217 | /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d, |
---|
| 218 | /usr/lib/sysctl.d, /usr/lib/systemd, |
---|
| 219 | /usr/share/doc-systemd-&systemd-version;, /usr/share/systemd, |
---|
[0959d10] | 220 | /usr/share/zsh, /var/lib/systemd</seg> |
---|
[d89bf75] | 221 | </seglistitem> |
---|
| 222 | </segmentedlist> |
---|
| 223 | |
---|
| 224 | <variablelist> |
---|
| 225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead> |
---|
| 226 | <?dbfo list-presentation="list"?> |
---|
| 227 | <?dbhtml list-presentation="table"?> |
---|
| 228 | |
---|
[f6e0d38] | 229 | <varlistentry id="bootctl"> |
---|
| 230 | <term><command>bootctl</command></term> |
---|
| 231 | <listitem> |
---|
| 232 | <para>Controls the firmware and boot manager settings</para> |
---|
| 233 | <indexterm zone="ch-system-systemd bootctl"> |
---|
| 234 | <primary sortas="b-bootctl">bootctl</primary> |
---|
| 235 | </indexterm> |
---|
| 236 | </listitem> |
---|
| 237 | </varlistentry> |
---|
| 238 | |
---|
| 239 | <varlistentry id="busctl"> |
---|
| 240 | <term><command>busctl</command></term> |
---|
| 241 | <listitem> |
---|
| 242 | <para>Introspects and monitors the D-Bus bus</para> |
---|
| 243 | <indexterm zone="ch-system-systemd busctl"> |
---|
| 244 | <primary sortas="b-busctl">busctl</primary> |
---|
| 245 | </indexterm> |
---|
| 246 | </listitem> |
---|
| 247 | </varlistentry> |
---|
| 248 | |
---|
| 249 | <varlistentry id="halt"> |
---|
| 250 | <term><command>halt</command></term> |
---|
| 251 | <listitem> |
---|
| 252 | <para>Halts, powers off, or reboots the machine</para> |
---|
| 253 | <indexterm zone="ch-system-systemd halt"> |
---|
| 254 | <primary sortas="b-halt">halt</primary> |
---|
| 255 | </indexterm> |
---|
| 256 | </listitem> |
---|
| 257 | </varlistentry> |
---|
| 258 | |
---|
| 259 | <varlistentry id="hostnamectl"> |
---|
| 260 | <term><command>hostnamectl</command></term> |
---|
| 261 | <listitem> |
---|
| 262 | <para>Controls the system hostname</para> |
---|
| 263 | <indexterm zone="ch-system-systemd hostnamectl"> |
---|
| 264 | <primary sortas="b-hostnamectl">hostnamectl</primary> |
---|
| 265 | </indexterm> |
---|
| 266 | </listitem> |
---|
| 267 | </varlistentry> |
---|
| 268 | |
---|
| 269 | <varlistentry id="init"> |
---|
| 270 | <term><command>init</command></term> |
---|
| 271 | <listitem> |
---|
| 272 | <para>systemd system and service manager</para> |
---|
| 273 | <indexterm zone="ch-system-systemd init"> |
---|
| 274 | <primary sortas="b-init">init</primary> |
---|
| 275 | </indexterm> |
---|
| 276 | </listitem> |
---|
| 277 | </varlistentry> |
---|
| 278 | |
---|
| 279 | <varlistentry id="journalctl"> |
---|
| 280 | <term><command>journalctl</command></term> |
---|
| 281 | <listitem> |
---|
| 282 | <para>Queries the systemd journal</para> |
---|
| 283 | <indexterm zone="ch-system-systemd journalctl"> |
---|
| 284 | <primary sortas="b-journalctl">journalctl</primary> |
---|
| 285 | </indexterm> |
---|
| 286 | </listitem> |
---|
| 287 | </varlistentry> |
---|
| 288 | |
---|
| 289 | <varlistentry id="kernel-install"> |
---|
| 290 | <term><command>kernel-install</command></term> |
---|
| 291 | <listitem> |
---|
| 292 | <para>Adds and removes kernel and initramfs images to and from |
---|
| 293 | <filename class="directory">/boot</filename></para> |
---|
| 294 | <indexterm zone="ch-system-systemd kernel-install"> |
---|
| 295 | <primary sortas="b-kernel-install">kernel-install</primary> |
---|
| 296 | </indexterm> |
---|
| 297 | </listitem> |
---|
| 298 | </varlistentry> |
---|
| 299 | |
---|
| 300 | <varlistentry id="localectl"> |
---|
| 301 | <term><command>localectl</command></term> |
---|
| 302 | <listitem> |
---|
| 303 | <para>Controls the system locale and keyboard layout settings</para> |
---|
| 304 | <indexterm zone="ch-system-systemd localectl"> |
---|
| 305 | <primary sortas="b-localectl">localectl</primary> |
---|
| 306 | </indexterm> |
---|
| 307 | </listitem> |
---|
| 308 | </varlistentry> |
---|
| 309 | |
---|
| 310 | <varlistentry id="loginctl"> |
---|
| 311 | <term><command>loginctl</command></term> |
---|
| 312 | <listitem> |
---|
| 313 | <para>Controls the systemd login manager</para> |
---|
| 314 | <indexterm zone="ch-system-systemd loginctl"> |
---|
| 315 | <primary sortas="b-loginctl">loginctl</primary> |
---|
| 316 | </indexterm> |
---|
| 317 | </listitem> |
---|
| 318 | </varlistentry> |
---|
| 319 | |
---|
| 320 | <varlistentry id="machinectl"> |
---|
| 321 | <term><command>machinectl</command></term> |
---|
| 322 | <listitem> |
---|
| 323 | <para>Controls the systemd machine manager</para> |
---|
| 324 | <indexterm zone="ch-system-systemd machinectl"> |
---|
| 325 | <primary sortas="b-machinectl">machinectl</primary> |
---|
| 326 | </indexterm> |
---|
| 327 | </listitem> |
---|
| 328 | </varlistentry> |
---|
| 329 | |
---|
| 330 | <varlistentry id="poweroff"> |
---|
| 331 | <term><command>poweroff</command></term> |
---|
| 332 | <listitem> |
---|
| 333 | <para>Halts, powers off, or reboots the machine</para> |
---|
| 334 | <indexterm zone="ch-system-systemd poweroff"> |
---|
| 335 | <primary sortas="b-poweroff">poweroff</primary> |
---|
| 336 | </indexterm> |
---|
| 337 | </listitem> |
---|
| 338 | </varlistentry> |
---|
| 339 | |
---|
| 340 | <varlistentry id="reboot"> |
---|
| 341 | <term><command>reboot</command></term> |
---|
| 342 | <listitem> |
---|
| 343 | <para>Halts, powers off, or reboots the machine</para> |
---|
| 344 | <indexterm zone="ch-system-systemd reboot"> |
---|
| 345 | <primary sortas="b-reboot">reboot</primary> |
---|
| 346 | </indexterm> |
---|
| 347 | </listitem> |
---|
| 348 | </varlistentry> |
---|
| 349 | |
---|
| 350 | <varlistentry id="runlevel"> |
---|
| 351 | <term><command>runlevel</command></term> |
---|
| 352 | <listitem> |
---|
| 353 | <para>Prints previous and current SysV runlevel</para> |
---|
| 354 | <indexterm zone="ch-system-systemd runlevel"> |
---|
| 355 | <primary sortas="b-runlevel">runlevel</primary> |
---|
| 356 | </indexterm> |
---|
| 357 | </listitem> |
---|
| 358 | </varlistentry> |
---|
| 359 | |
---|
| 360 | <varlistentry id="shutdown"> |
---|
| 361 | <term><command>shutdown</command></term> |
---|
| 362 | <listitem> |
---|
| 363 | <para>Halts, powers off, or reboots the machine</para> |
---|
| 364 | <indexterm zone="ch-system-systemd shutdown"> |
---|
| 365 | <primary sortas="b-shutdown">shutdown</primary> |
---|
| 366 | </indexterm> |
---|
| 367 | </listitem> |
---|
| 368 | </varlistentry> |
---|
| 369 | |
---|
[d89bf75] | 370 | <varlistentry id="systemctl"> |
---|
| 371 | <term><command>systemctl</command></term> |
---|
| 372 | <listitem> |
---|
[0131d1b] | 373 | <para>Control the systemd system and service manager</para> |
---|
[d89bf75] | 374 | <indexterm zone="ch-system-systemd systemctl"> |
---|
| 375 | <primary sortas="b-systemctl">systemctl</primary> |
---|
| 376 | </indexterm> |
---|
| 377 | </listitem> |
---|
| 378 | </varlistentry> |
---|
| 379 | |
---|
| 380 | <varlistentry id="systemd"> |
---|
| 381 | <term><command>systemd</command></term> |
---|
| 382 | <listitem> |
---|
| 383 | <para>System and service manager for Linux</para> |
---|
| 384 | <indexterm zone="ch-system-systemd systemd"> |
---|
| 385 | <primary sortas="b-systemd">systemd</primary> |
---|
| 386 | </indexterm> |
---|
| 387 | </listitem> |
---|
| 388 | </varlistentry> |
---|
| 389 | |
---|
[f6e0d38] | 390 | <varlistentry id="systemd-analyze"> |
---|
| 391 | <term><command>systemd-analyze</command></term> |
---|
| 392 | <listitem> |
---|
| 393 | <para>Analyzes system boot-up permformance</para> |
---|
| 394 | <indexterm zone="ch-system-systemd systemd-analyze"> |
---|
| 395 | <primary sortas="b-systemd-analyze">systemd-analyze</primary> |
---|
| 396 | </indexterm> |
---|
| 397 | </listitem> |
---|
| 398 | </varlistentry> |
---|
| 399 | |
---|
[d89bf75] | 400 | <varlistentry id="systemd-ask-password"> |
---|
| 401 | <term><command>systemd-ask-password</command></term> |
---|
| 402 | <listitem> |
---|
| 403 | <para>Queries the user for a system passphrase, via the |
---|
| 404 | TTY or an UI agent.</para> |
---|
| 405 | <indexterm zone="ch-system-systemd systemd-ask-password"> |
---|
| 406 | <primary sortas="b-systemd-ask-password">systemd-ask-password</primary> |
---|
| 407 | </indexterm> |
---|
| 408 | </listitem> |
---|
| 409 | </varlistentry> |
---|
| 410 | |
---|
[f6e0d38] | 411 | <varlistentry id="systemd-cat"> |
---|
| 412 | <term><command>systemd-cat</command></term> |
---|
| 413 | <listitem> |
---|
| 414 | <para>Connects a pipeline or program's output with the journal</para> |
---|
| 415 | <indexterm zone="ch-system-systemd systemd-cat"> |
---|
| 416 | <primary sortas="b-systemd-cat">systemd-cat</primary> |
---|
| 417 | </indexterm> |
---|
| 418 | </listitem> |
---|
| 419 | </varlistentry> |
---|
| 420 | |
---|
[d89bf75] | 421 | <varlistentry id="systemd-cgls"> |
---|
| 422 | <term><command>systemd-cgls</command></term> |
---|
| 423 | <listitem> |
---|
| 424 | <para>Recursively shows control group contents</para> |
---|
| 425 | <indexterm zone="ch-system-systemd systemd-cgls"> |
---|
| 426 | <primary sortas="b-systemd-cgls">systemd-cgls</primary> |
---|
| 427 | </indexterm> |
---|
| 428 | </listitem> |
---|
| 429 | </varlistentry> |
---|
| 430 | |
---|
| 431 | <varlistentry id="systemd-notify"> |
---|
| 432 | <term><command>systemd-notify</command></term> |
---|
| 433 | <listitem> |
---|
| 434 | <para>Notify init system about start-up completion and other daemon |
---|
| 435 | status changes</para> |
---|
| 436 | <indexterm zone="ch-system-systemd systemd-notify"> |
---|
| 437 | <primary sortas="b-systemd-notify">systemd-notify</primary> |
---|
| 438 | </indexterm> |
---|
| 439 | </listitem> |
---|
| 440 | </varlistentry> |
---|
| 441 | |
---|
| 442 | <varlistentry id="systemd-tty-ask-password-agent"> |
---|
| 443 | <term><command>systemd-tty-ask-password-agent</command></term> |
---|
| 444 | <listitem> |
---|
| 445 | <para>Process system password requests</para> |
---|
| 446 | <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent"> |
---|
| 447 | <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary> |
---|
| 448 | </indexterm> |
---|
| 449 | </listitem> |
---|
| 450 | </varlistentry> |
---|
| 451 | |
---|
[f6e0d38] | 452 | <varlistentry id="telinit"> |
---|
| 453 | <term><command>telinit</command></term> |
---|
| 454 | <listitem> |
---|
| 455 | <para>Tells <command>init</command> which run-level to change to</para> |
---|
| 456 | <indexterm zone="ch-system-systemd telinit"> |
---|
| 457 | <primary sortas="b-telinit">telinit</primary> |
---|
| 458 | </indexterm> |
---|
| 459 | </listitem> |
---|
| 460 | </varlistentry> |
---|
| 461 | |
---|
[d89bf75] | 462 | <varlistentry id="pam_systemd"> |
---|
| 463 | <term><filename class="libraryfile">pam_systemd</filename></term> |
---|
| 464 | <listitem> |
---|
[0131d1b] | 465 | <para>Register user sessions in the systemd control group |
---|
[d89bf75] | 466 | hierarchy</para> |
---|
| 467 | <indexterm zone="ch-system-systemd pam_systemd"> |
---|
| 468 | <primary sortas="c-pam_systemd">pam_systemd</primary> |
---|
| 469 | </indexterm> |
---|
| 470 | </listitem> |
---|
| 471 | </varlistentry> |
---|
| 472 | |
---|
| 473 | <varlistentry id="lib-systemd"> |
---|
| 474 | <term><filename class="directory">/lib/systemd</filename></term> |
---|
| 475 | <listitem> |
---|
| 476 | <para>Location of system units and configurations</para> |
---|
| 477 | <indexterm zone="ch-system-systemd lib-systemd"> |
---|
| 478 | <primary sortas="e-/lib/systemd">/lib/systemd</primary> |
---|
| 479 | </indexterm> |
---|
| 480 | </listitem> |
---|
| 481 | </varlistentry> |
---|
| 482 | |
---|
| 483 | <varlistentry id="etc-systemd"> |
---|
| 484 | <term><filename class="directory">/etc/systemd</filename></term> |
---|
| 485 | <listitem> |
---|
| 486 | <para>Location of user units and configurations</para> |
---|
| 487 | <indexterm zone="ch-system-systemd etc-systemd"> |
---|
| 488 | <primary sortas="e-/etc/systemd">/etc/systemd</primary> |
---|
| 489 | </indexterm> |
---|
| 490 | </listitem> |
---|
| 491 | </varlistentry> |
---|
| 492 | |
---|
| 493 | <varlistentry id="etc-tmpfilesd"> |
---|
| 494 | <term><filename class="directory">/etc/tmpfiles.d</filename></term> |
---|
| 495 | <listitem> |
---|
| 496 | <para>Configuration for creation, deletion and cleaning of temporary |
---|
| 497 | and volatile files</para> |
---|
| 498 | <indexterm zone="ch-system-systemd etc-tmpfilesd"> |
---|
| 499 | <primary sortas="e-/etc/tmpfiles.d">/etc/tmpfiles.d</primary> |
---|
| 500 | </indexterm> |
---|
| 501 | </listitem> |
---|
| 502 | </varlistentry> |
---|
| 503 | |
---|
| 504 | <varlistentry id="usr-share-systemd"> |
---|
| 505 | <term><filename class="directory">/usr/share/systemd</filename></term> |
---|
| 506 | <listitem> |
---|
| 507 | <para>Location of session unit files</para> |
---|
| 508 | <indexterm zone="ch-system-systemd usr-share-systemd"> |
---|
| 509 | <primary sortas="e-/usr/share/systemd">/usr/share/systemd</primary> |
---|
| 510 | </indexterm> |
---|
| 511 | </listitem> |
---|
| 512 | </varlistentry> |
---|
| 513 | |
---|
| 514 | </variablelist> |
---|
| 515 | |
---|
| 516 | </sect2> |
---|
| 517 | |
---|
| 518 | </sect1> |
---|