[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>
|
---|
[6dfcfecc] | 34 | <seg>&systemd-fin-sbu;</seg>
|
---|
| 35 | <seg>&systemd-fin-du;</seg>
|
---|
[f896e21c] | 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 | </sect2>
|
---|
| 39 |
|
---|
| 40 | <sect2 role="installation">
|
---|
[1118b17] | 41 | <title>Installation of systemd</title>
|
---|
[bc375da6] | 42 |
|
---|
[c8df034] | 43 | <para>First, apply a patch to fix a security vulnerability and regressions
|
---|
| 44 | with hostnames and idle units:</para>
|
---|
[38de42d] | 45 |
|
---|
[d7a9421] | 46 | <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-1.patch</userinput></screen>
|
---|
[b55310e] | 47 |
|
---|
[f30c2e8] | 48 | <para>Now, apply a patch to fix a problem with the linux kernel's headers in
|
---|
| 49 | version 5.17 and later:</para>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-kernel_5.17_fixes-1.patch</userinput></screen>
|
---|
| 52 |
|
---|
[87119fd] | 53 | <para>Remove two unneeded groups,
|
---|
| 54 | <systemitem class="groupname">render</systemitem> and
|
---|
| 55 | <systemitem class="groupname">sgx</systemitem>, from the default udev
|
---|
[896e77e] | 56 | rules:</para>
|
---|
| 57 |
|
---|
[1f201845] | 58 | <screen><userinput remap="pre">sed -i -e 's/GROUP="render"/GROUP="video"/' \
|
---|
[96fa6f2] | 59 | -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in</userinput></screen>
|
---|
[896e77e] | 60 |
|
---|
[1118b17] | 61 | <para>Prepare systemd for compilation:</para>
|
---|
| 62 |
|
---|
[be00729f] | 63 | <screen><userinput remap="configure">mkdir -p build
|
---|
[04b2165] | 64 | cd build
|
---|
[fc199db] | 65 |
|
---|
[95906db] | 66 | meson --prefix=/usr \
|
---|
| 67 | --sysconfdir=/etc \
|
---|
| 68 | --localstatedir=/var \
|
---|
[06cdaed] | 69 | --buildtype=release \
|
---|
[95906db] | 70 | -Dblkid=true \
|
---|
| 71 | -Ddefault-dnssec=no \
|
---|
| 72 | -Dfirstboot=false \
|
---|
| 73 | -Dinstall-tests=false \
|
---|
| 74 | -Dldconfig=false \
|
---|
| 75 | -Dsysusers=false \
|
---|
| 76 | -Db_lto=false \
|
---|
| 77 | -Drpmmacrosdir=no \
|
---|
| 78 | -Dhomed=false \
|
---|
| 79 | -Duserdb=false \
|
---|
[ceebda5] | 80 | -Dman=false \
|
---|
[38de42d] | 81 | -Dmode=release \
|
---|
[d7e0db5] | 82 | -Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
---|
[fc199db] | 83 | ..</userinput></screen>
|
---|
[cba2d4e] | 84 |
|
---|
| 85 | <variablelist>
|
---|
[81ed05f] | 86 | <title>The meaning of the meson options:</title>
|
---|
[cba2d4e] | 87 |
|
---|
[06cdaed] | 88 | <varlistentry>
|
---|
| 89 | <term><parameter>--buildtype=release</parameter></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>This switch overrides the default buildtype
|
---|
| 92 | (<quote>debug</quote>), which would produce unoptimized
|
---|
| 93 | binaries.</para>
|
---|
| 94 | </listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
[cba2d4e] | 97 | <varlistentry>
|
---|
[81ed05f] | 98 | <term><parameter>-Ddefault-dnssec=no</parameter></term>
|
---|
[cba2d4e] | 99 | <listitem>
|
---|
[81ed05f] | 100 | <para>This switch turns off the experimental DNSSEC support.</para>
|
---|
[cba2d4e] | 101 | </listitem>
|
---|
| 102 | </varlistentry>
|
---|
| 103 |
|
---|
| 104 | <varlistentry>
|
---|
[81ed05f] | 105 | <term><parameter>-Dfirstboot=false</parameter></term>
|
---|
[cba2d4e] | 106 | <listitem>
|
---|
[81ed05f] | 107 | <para>This switch prevents installation of systemd
|
---|
| 108 | services responsible for setting up the system for
|
---|
| 109 | the first time. They are not useful for LFS because
|
---|
| 110 | everything is done manually.</para>
|
---|
[cba2d4e] | 111 | </listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
[e88a471b] | 114 | <varlistentry>
|
---|
| 115 | <term><parameter>-Dinstall-tests=false</parameter></term>
|
---|
| 116 | <listitem>
|
---|
| 117 | <para>This switch prevents installation of the compiled tests.</para>
|
---|
| 118 | </listitem>
|
---|
| 119 | </varlistentry>
|
---|
| 120 |
|
---|
[cba2d4e] | 121 | <varlistentry>
|
---|
[0d84af1] | 122 | <term><parameter>-Dldconfig=false</parameter></term>
|
---|
[cba2d4e] | 123 | <listitem>
|
---|
[0d84af1] | 124 | <para>This switch prevents installation of a systemd unit that runs
|
---|
| 125 | <command>ldconfig</command> at boot, which is not useful for source
|
---|
| 126 | distributions such as LFS and makes the boot time longer. Remove it
|
---|
| 127 | if the described feature is desired.</para>
|
---|
[cba2d4e] | 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
[1118b17] | 131 | <varlistentry>
|
---|
[81ed05f] | 132 | <term><parameter>-Dsysusers=false</parameter></term>
|
---|
[1118b17] | 133 | <listitem>
|
---|
| 134 | <para>This switch prevents installation of systemd
|
---|
| 135 | services responsible for setting up the
|
---|
| 136 | <filename>/etc/group</filename> and
|
---|
| 137 | <filename>/etc/passwd</filename> files. Both files
|
---|
[f09dd59] | 138 | were created in the previous chapter. This daemon is not useful
|
---|
[0a75d62] | 139 | on an LFS system since user accounts are manually created.</para>
|
---|
[cba2d4e] | 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
[be00729f] | 143 | <varlistentry>
|
---|
| 144 | <term><parameter>-Drpmmacrosdir=no</parameter></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>This switch disables installation of RPM Macros
|
---|
| 147 | for use with systemd because LFS does not support RPM.</para>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
[d1fbbd0] | 150 |
|
---|
| 151 | <varlistentry>
|
---|
| 152 | <term><parameter>-D{userdb,homed}=false</parameter></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>Remove two daemons that have dependencies that do not fit
|
---|
| 155 | the scope of LFS.</para>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
[ceebda5] | 159 | <varlistentry>
|
---|
| 160 | <term><parameter>-Dman=false</parameter></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>Prevent the generation of man pages to avoid extra
|
---|
| 163 | dependencies. We will install pre-generated man pages for systemd
|
---|
| 164 | from a tarball later.</para>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
[38de42d] | 168 | <varlistentry>
|
---|
| 169 | <term><parameter>-Dmode=release</parameter></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>Disable some features considered experimental by upstream.
|
---|
| 172 | </para>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
[cba2d4e] | 176 | </variablelist>
|
---|
| 177 |
|
---|
| 178 | <para>Compile the package:</para>
|
---|
| 179 |
|
---|
[69c4524] | 180 | <screen><userinput remap="make">ninja</userinput></screen>
|
---|
[f896e21c] | 181 |
|
---|
| 182 | <para>Install the package:</para>
|
---|
| 183 |
|
---|
[69c4524] | 184 | <screen><userinput remap="install">ninja install</userinput></screen>
|
---|
[cba2d4e] | 185 |
|
---|
[ceebda5] | 186 | <para>Install the man pages:</para>
|
---|
[cba2d4e] | 187 |
|
---|
[9c7e6ff8] | 188 | <screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz -C /usr/share/man</userinput></screen>
|
---|
[81ed05f] | 189 |
|
---|
[4c8c128] | 190 | <para>Remove a useless directory:</para>
|
---|
[a5c2803] | 191 |
|
---|
| 192 | <screen><userinput remap="install">rm -rf /usr/lib/pam.d</userinput></screen>
|
---|
| 193 |
|
---|
[cba2d4e] | 194 | <para>Create the <filename>/etc/machine-id</filename> file needed by
|
---|
[1118b17] | 195 | <command>systemd-journald</command>:</para>
|
---|
[053b206] | 196 |
|
---|
[15f0f21] | 197 | <screen><userinput remap="adjust">systemd-machine-id-setup</userinput></screen>
|
---|
[cba2d4e] | 198 |
|
---|
[0aaf6a31] | 199 | <para>Setup the basic target structure:</para>
|
---|
| 200 |
|
---|
| 201 | <screen><userinput remap="adjust">systemctl preset-all</userinput></screen>
|
---|
| 202 |
|
---|
[a5c2803] | 203 | <!-- dev: 50-pid-max.conf is not removed in BLFS, so I commented the following out.
|
---|
| 204 | If it causes any trouble, we can add this back and also copy it into BLFS -->
|
---|
| 205 | <!--
|
---|
[0aaf6a31] | 206 | <para>Prevent systemd from resetting the maximum PID value which causes
|
---|
| 207 | some problems with packages and units in BLFS:</para>
|
---|
[d672ab7] | 208 |
|
---|
[d1fbbd0] | 209 | <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen>
|
---|
[a5c2803] | 210 | -->
|
---|
[0aaf6a31] | 211 |
|
---|
[f896e21c] | 212 | </sect2>
|
---|
| 213 |
|
---|
[6dfcfecc] | 214 | <!-- - - - - - - - - - -->
|
---|
| 215 | <!-- Multilib - 32bit -->
|
---|
| 216 | <!-- - - - - - - - - - -->
|
---|
| 217 |
|
---|
[fd48baa] | 218 | <sect2 arch="ml_32,ml_all" role="installation">
|
---|
[b3f1ebb3] | 219 | <title>Installation of systemd - 32-bit</title>
|
---|
| 220 |
|
---|
| 221 | <para>Clean previous build:</para>
|
---|
| 222 |
|
---|
[6dfcfecc] | 223 | <screen><userinput remap="pre">rm -rf *</userinput></screen>
|
---|
[b3f1ebb3] | 224 |
|
---|
| 225 | <para>Create a symlink to work around missing xsltproc:</para>
|
---|
| 226 |
|
---|
[6dfcfecc] | 227 | <!-- screen><userinput remap="pre">ln -sf /tools/bin/true /usr/bin/xsltproc</userinput></screen -->
|
---|
| 228 | <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
|
---|
[b3f1ebb3] | 229 |
|
---|
[6dfcfecc] | 230 | <!-- with cross-LFS we have util-linux in place:
|
---|
[b3f1ebb3] | 231 | <para>Because we have not yet installed the final version of Util-Linux,
|
---|
| 232 | create links to the libraries in the approprite location:</para>
|
---|
| 233 |
|
---|
| 234 | <screen><userinput remap="pre">for file in /tools/lib32/lib{blkid,mount,uuid}*; do
|
---|
| 235 | ln -sf $file /usr/lib32/
|
---|
| 236 | done</userinput></screen>
|
---|
[6dfcfecc] | 237 | -->
|
---|
[b3f1ebb3] | 238 |
|
---|
| 239 | <para>Prepare systemd for compilation:</para>
|
---|
| 240 |
|
---|
[0ebda11] | 241 | <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/lib32/pkgconfig" \
|
---|
[b3f1ebb3] | 242 | CC="gcc -m32 -march=i686" \
|
---|
| 243 | CXX="g++ -m32 -march=i686" \
|
---|
| 244 | LANG=en_US.UTF-8 \
|
---|
| 245 | meson --prefix=/usr \
|
---|
| 246 | --sysconfdir=/etc \
|
---|
| 247 | --localstatedir=/var \
|
---|
[0ebda11] | 248 | -Drootlibdir=/usr/lib32 \
|
---|
[3c2b819] | 249 | -Dblkid=true \
|
---|
| 250 | -Ddefault-dnssec=no \
|
---|
| 251 | -Dfirstboot=false \
|
---|
| 252 | -Dinstall-tests=false \
|
---|
| 253 | -Dldconfig=false \
|
---|
| 254 | -Dsysusers=false \
|
---|
| 255 | -Db_lto=false \
|
---|
| 256 | -Drpmmacrosdir=no \
|
---|
| 257 | -Dhomed=false \
|
---|
| 258 | -Duserdb=false \
|
---|
| 259 | -Dman=false \
|
---|
| 260 | -Dmode=release \
|
---|
[b3f1ebb3] | 261 | ..</userinput></screen>
|
---|
| 262 |
|
---|
| 263 | <para>Compile the package:</para>
|
---|
| 264 |
|
---|
| 265 | <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
|
---|
| 266 |
|
---|
| 267 | <para>Install the package:</para>
|
---|
| 268 |
|
---|
| 269 | <screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
|
---|
[0ebda11] | 270 | cp -Rv DESTDIR/usr/lib32/* /usr/lib32
|
---|
[b3f1ebb3] | 271 | rm -rf DESTDIR
|
---|
| 272 | rm -f /usr/bin/xsltproc</userinput></screen>
|
---|
| 273 |
|
---|
[6dfcfecc] | 274 | </sect2><!-- m32 -->
|
---|
[b3f1ebb3] | 275 |
|
---|
[6dfcfecc] | 276 | <!-- - - - - - - - - - -->
|
---|
| 277 | <!-- Multilib - x32bit -->
|
---|
| 278 | <!-- - - - - - - - - - -->
|
---|
| 279 |
|
---|
[fd48baa] | 280 | <sect2 arch="ml_x32,ml_all" role="installation">
|
---|
[b3f1ebb3] | 281 | <title>Installation of systemd - x32-bit</title>
|
---|
| 282 |
|
---|
| 283 | <para>Clean previous build:</para>
|
---|
| 284 |
|
---|
[6dfcfecc] | 285 | <screen><userinput remap="pre">rm -rf *</userinput></screen>
|
---|
[b3f1ebb3] | 286 |
|
---|
| 287 | <para>Create a symlink to work around missing xsltproc:</para>
|
---|
| 288 |
|
---|
[6dfcfecc] | 289 | <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
|
---|
[3c2b819] | 290 | <!--
|
---|
[b3f1ebb3] | 291 | <para>Fix an issue on x32:</para>
|
---|
| 292 |
|
---|
| 293 | <screen><userinput remap="pre">sed '/log_debug/s@PRI_TIMEX@PRIi64@' -i src/timesync/timesyncd-manager.c
|
---|
| 294 | sed '/long drift_freq;/s@long @int64_t @' -i src/timesync/timesyncd-manager.h</userinput></screen>
|
---|
[3c2b819] | 295 | -->
|
---|
[b3f1ebb3] | 296 | <para>Prepare systemd for compilation:</para>
|
---|
| 297 |
|
---|
[0ebda11] | 298 | <screen><userinput remap="configure">PKG_CONFIG_PATH="/usr/libx32/pkgconfig" \
|
---|
[b3f1ebb3] | 299 | CC="gcc -mx32" \
|
---|
| 300 | CXX="g++ -mx32" \
|
---|
| 301 | CFLAGS+="-Wno-error=shift-overflow" \
|
---|
| 302 | CXXFLAGS+="-Wno-error=shift-overflow" \
|
---|
| 303 | LANG=en_US.UTF-8 \
|
---|
| 304 | meson --prefix=/usr \
|
---|
| 305 | --sysconfdir=/etc \
|
---|
| 306 | --localstatedir=/var \
|
---|
[0ebda11] | 307 | -Drootlibdir=/usr/libx32 \
|
---|
[3c2b819] | 308 | -Dblkid=true \
|
---|
| 309 | -Ddefault-dnssec=no \
|
---|
| 310 | -Dfirstboot=false \
|
---|
| 311 | -Dinstall-tests=false \
|
---|
| 312 | -Dldconfig=false \
|
---|
| 313 | -Dsysusers=false \
|
---|
| 314 | -Db_lto=false \
|
---|
| 315 | -Drpmmacrosdir=no \
|
---|
| 316 | -Dhomed=false \
|
---|
| 317 | -Duserdb=false \
|
---|
| 318 | -Dman=false \
|
---|
| 319 | -Dmode=release \
|
---|
[b3f1ebb3] | 320 | ..</userinput></screen>
|
---|
| 321 |
|
---|
| 322 | <para>Compile the package:</para>
|
---|
| 323 |
|
---|
| 324 | <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen>
|
---|
| 325 |
|
---|
| 326 | <para>Install the package:</para>
|
---|
| 327 |
|
---|
| 328 | <screen><userinput remap="install">LANG=en_US.UTF-8 DESTDIR=$PWD/DESTDIR ninja install
|
---|
[3c2b819] | 329 | cp -Rv DESTDIR/usr/libx32/* /usr/libx32
|
---|
[b3f1ebb3] | 330 | rm -rf DESTDIR
|
---|
| 331 | rm -f /usr/bin/xsltproc</userinput></screen>
|
---|
| 332 |
|
---|
[6dfcfecc] | 333 | </sect2><!-- mx32 -->
|
---|
[b3f1ebb3] | 334 |
|
---|
[cba2d4e] | 335 | <sect2 id="contents-systemd" role="content">
|
---|
[1118b17] | 336 | <title>Contents of systemd</title>
|
---|
[f896e21c] | 337 |
|
---|
| 338 | <segmentedlist>
|
---|
| 339 | <segtitle>Installed programs</segtitle>
|
---|
| 340 | <segtitle>Installed libraries</segtitle>
|
---|
| 341 | <segtitle>Installed directories</segtitle>
|
---|
| 342 |
|
---|
| 343 | <seglistitem>
|
---|
[662f649] | 344 | <seg>busctl, coredumpctl, halt (symlink to systemctl),
|
---|
[78cc3be] | 345 | hostnamectl, init, journalctl, kernel-install, localectl, loginctl,
|
---|
[d7a9421] | 346 | machinectl, networkctl, oomctl, portablectl, poweroff (symlink to
|
---|
[78cc3be] | 347 | systemctl), reboot (symlink to systemctl), resolvconf (symlink to
|
---|
| 348 | resolvectl), resolvectl, runlevel (symlink to systemctl), shutdown
|
---|
| 349 | (symlink to systemctl), systemctl, systemd-analyze,
|
---|
[1118b17] | 350 | systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop,
|
---|
[662f649] | 351 | systemd-creds, systemd-delta, systemd-detect-virt,
|
---|
[d7a9421] | 352 | systemd-dissect, systemd-escape, systemd-hwdb, systemd-id128,
|
---|
| 353 | systemd-inhibit, systemd-machine-id-setup,
|
---|
[78cc3be] | 354 | systemd-mount, systemd-notify, systemd-nspawn, systemd-path,
|
---|
[d1fbbd0] | 355 | systemd-repart, systemd-resolve (symlink to resolvectl), systemd-run,
|
---|
[d7a9421] | 356 | systemd-socket-activate, systemd-stdio-bridge, systemd-sysext,
|
---|
| 357 | systemd-tmpfiles, systemd-tty-ask-password-agent,
|
---|
| 358 | systemd-umount (symlink to systemd-mount),
|
---|
| 359 | telinit (symlink to systemctl), timedatectl, and udevadm</seg>
|
---|
[1118b17] | 360 | <seg>libnss_myhostname.so.2, libnss_mymachines.so.2,
|
---|
[78cc3be] | 361 | libnss_resolve.so.2, libnss_systemd.so.2,
|
---|
[d7a9421] | 362 | libsystemd.so, libsystemd-shared-&systemd-version;.so (in /usr/lib/systemd),
|
---|
[a840e59] | 363 | and libudev.so</seg>
|
---|
[cba2d4e] | 364 | <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d,
|
---|
| 365 | /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev,
|
---|
[d7a9421] | 366 | /etc/xdg/systemd, /usr/lib/systemd, /usr/lib/udev, /usr/include/systemd,
|
---|
[d672ab7] | 367 | /usr/lib/binfmt.d, /usr/lib/environment.d, /usr/lib/kernel,
|
---|
| 368 | /usr/lib/modules-load.d, /usr/lib/sysctl.d, /usr/lib/systemd,
|
---|
[4ea78e0] | 369 | /usr/lib/tmpfiles.d,
|
---|
[1118b17] | 370 | /usr/share/doc/systemd-&systemd-version;, /usr/share/factory,
|
---|
| 371 | /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg>
|
---|
[f896e21c] | 372 | </seglistitem>
|
---|
| 373 | </segmentedlist>
|
---|
| 374 |
|
---|
| 375 | <variablelist>
|
---|
| 376 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 377 | <?dbfo list-presentation="list"?>
|
---|
| 378 | <?dbhtml list-presentation="table"?>
|
---|
| 379 |
|
---|
[cba2d4e] | 380 | <varlistentry id="busctl">
|
---|
| 381 | <term><command>busctl</command></term>
|
---|
| 382 | <listitem>
|
---|
[6dfcfecc] | 383 | <para>Is used to introspect and monitor the D-Bus bus</para>
|
---|
[cba2d4e] | 384 | <indexterm zone="ch-system-systemd busctl">
|
---|
| 385 | <primary sortas="b-busctl">busctl</primary>
|
---|
| 386 | </indexterm>
|
---|
| 387 | </listitem>
|
---|
| 388 | </varlistentry>
|
---|
| 389 |
|
---|
[1118b17] | 390 | <varlistentry id="coredumpctl">
|
---|
| 391 | <term><command>coredumpctl</command></term>
|
---|
| 392 | <listitem>
|
---|
[6dfcfecc] | 393 | <para>Is used to retrieve coredumps from the systemd journal</para>
|
---|
[1118b17] | 394 | <indexterm zone="ch-system-systemd coredumpctl">
|
---|
| 395 | <primary sortas="b-coredumpctl">coredumpctl</primary>
|
---|
| 396 | </indexterm>
|
---|
| 397 | </listitem>
|
---|
| 398 | </varlistentry>
|
---|
| 399 |
|
---|
[cba2d4e] | 400 | <varlistentry id="halt">
|
---|
| 401 | <term><command>halt</command></term>
|
---|
| 402 | <listitem>
|
---|
| 403 | <para>Normally invokes <command>shutdown</command> with the
|
---|
| 404 | <parameter>-h</parameter> option, except when already in run-level 0,
|
---|
| 405 | then it tells the kernel to halt the system; it notes in the
|
---|
| 406 | file <filename>/var/log/wtmp</filename> that the system is being
|
---|
[1118b17] | 407 | brought down</para>
|
---|
[cba2d4e] | 408 | <indexterm zone="ch-system-systemd halt">
|
---|
| 409 | <primary sortas="b-halt">halt</primary>
|
---|
| 410 | </indexterm>
|
---|
| 411 | </listitem>
|
---|
| 412 | </varlistentry>
|
---|
| 413 |
|
---|
| 414 | <varlistentry id="hostnamectl">
|
---|
| 415 | <term><command>hostnamectl</command></term>
|
---|
| 416 | <listitem>
|
---|
[6dfcfecc] | 417 | <para>Is used to query and change the system hostname and related
|
---|
[1118b17] | 418 | settings</para>
|
---|
[cba2d4e] | 419 | <indexterm zone="ch-system-systemd hostnamectl">
|
---|
| 420 | <primary sortas="b-hostnamectl">hostnamectl</primary>
|
---|
| 421 | </indexterm>
|
---|
| 422 | </listitem>
|
---|
| 423 | </varlistentry>
|
---|
| 424 |
|
---|
| 425 | <varlistentry id="init">
|
---|
| 426 | <term><command>init</command></term>
|
---|
| 427 | <listitem>
|
---|
[6dfcfecc] | 428 | <para>Is the first process to be started when the kernel has initialized
|
---|
[d672ab7] | 429 | the hardware which takes over the boot process and starts all
|
---|
[6dfcfecc] | 430 | processes according to its configuration files. In this case, it starts
|
---|
[4c8c128] | 431 | systemd</para>
|
---|
[cba2d4e] | 432 | <indexterm zone="ch-system-systemd init">
|
---|
| 433 | <primary sortas="b-init">init</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
| 437 |
|
---|
| 438 | <varlistentry id="journalctl">
|
---|
| 439 | <term><command>journalctl</command></term>
|
---|
| 440 | <listitem>
|
---|
[6dfcfecc] | 441 | <para>Is used to query the contents of the systemd journal</para>
|
---|
[cba2d4e] | 442 | <indexterm zone="ch-system-systemd journalctl">
|
---|
| 443 | <primary sortas="b-journalctl">journalctl</primary>
|
---|
| 444 | </indexterm>
|
---|
| 445 | </listitem>
|
---|
| 446 | </varlistentry>
|
---|
| 447 |
|
---|
| 448 | <varlistentry id="kernel-install">
|
---|
| 449 | <term><command>kernel-install</command></term>
|
---|
| 450 | <listitem>
|
---|
[6dfcfecc] | 451 | <para>Is used to add and remove kernel and initramfs images to and
|
---|
[4c8c128] | 452 | from /boot. In LFS, this is done manually</para>
|
---|
[cba2d4e] | 453 | <indexterm zone="ch-system-systemd kernel-install">
|
---|
| 454 | <primary sortas="b-kernel-install">kernel-install</primary>
|
---|
| 455 | </indexterm>
|
---|
| 456 | </listitem>
|
---|
| 457 | </varlistentry>
|
---|
| 458 |
|
---|
| 459 | <varlistentry id="localectl">
|
---|
| 460 | <term><command>localectl</command></term>
|
---|
| 461 | <listitem>
|
---|
[6dfcfecc] | 462 | <para>Is used to query and change the system locale and keyboard layout
|
---|
[1118b17] | 463 | settings</para>
|
---|
[cba2d4e] | 464 | <indexterm zone="ch-system-systemd localectl">
|
---|
| 465 | <primary sortas="b-localectl">localectl</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
| 470 | <varlistentry id="loginctl">
|
---|
| 471 | <term><command>loginctl</command></term>
|
---|
| 472 | <listitem>
|
---|
[6dfcfecc] | 473 | <para>Is used to introspect and control the state of the systemd Login
|
---|
[1118b17] | 474 | Manager</para>
|
---|
[cba2d4e] | 475 | <indexterm zone="ch-system-systemd loginctl">
|
---|
| 476 | <primary sortas="b-loginctl">loginctl</primary>
|
---|
| 477 | </indexterm>
|
---|
| 478 | </listitem>
|
---|
| 479 | </varlistentry>
|
---|
| 480 |
|
---|
| 481 | <varlistentry id="machinectl">
|
---|
| 482 | <term><command>machinectl</command></term>
|
---|
| 483 | <listitem>
|
---|
[6dfcfecc] | 484 | <para>Is used to introspect and control the state of the systemd Virtual
|
---|
[cba2d4e] | 485 | Machine and Container Registration Manager</para>
|
---|
| 486 | <indexterm zone="ch-system-systemd machinectl">
|
---|
| 487 | <primary sortas="b-machinectl">machinectl</primary>
|
---|
| 488 | </indexterm>
|
---|
| 489 | </listitem>
|
---|
| 490 | </varlistentry>
|
---|
| 491 |
|
---|
[1118b17] | 492 | <varlistentry id="networkctl">
|
---|
| 493 | <term><command>networkctl</command></term>
|
---|
| 494 | <listitem>
|
---|
[d672ab7] | 495 | <para>Is used to introspect and configure the state of the network
|
---|
[6dfcfecc] | 496 | links configured by systemd-networkd</para>
|
---|
[1118b17] | 497 | <indexterm zone="ch-system-systemd networkctl">
|
---|
| 498 | <primary sortas="b-networkctl">networkctl</primary>
|
---|
| 499 | </indexterm>
|
---|
| 500 | </listitem>
|
---|
| 501 | </varlistentry>
|
---|
| 502 |
|
---|
[d7a9421] | 503 | <varlistentry id="oomctl">
|
---|
| 504 | <term><command>oomctl</command></term>
|
---|
| 505 | <listitem>
|
---|
| 506 | <para>Controls the systemd Out Of Memory daemon</para>
|
---|
| 507 | <indexterm zone="ch-system-systemd oomctl">
|
---|
| 508 | <primary sortas="b-oomctl">oomctl</primary>
|
---|
| 509 | </indexterm>
|
---|
| 510 | </listitem>
|
---|
| 511 | </varlistentry>
|
---|
| 512 |
|
---|
[78cc3be] | 513 | <varlistentry id="portablectl">
|
---|
| 514 | <term><command>portablectl</command></term>
|
---|
| 515 | <listitem>
|
---|
[6dfcfecc] | 516 | <para>Is used to attach or detach portable services from the local
|
---|
[78cc3be] | 517 | system</para>
|
---|
| 518 | <indexterm zone="ch-system-systemd portablectl">
|
---|
| 519 | <primary sortas="b-portablectl">portablectl</primary>
|
---|
| 520 | </indexterm>
|
---|
| 521 | </listitem>
|
---|
| 522 | </varlistentry>
|
---|
| 523 |
|
---|
[cba2d4e] | 524 | <varlistentry id="poweroff">
|
---|
| 525 | <term><command>poweroff</command></term>
|
---|
| 526 | <listitem>
|
---|
[6dfcfecc] | 527 | <para>Instructs the kernel to halt the system and switch off the computer
|
---|
[1118b17] | 528 | (see <command>halt</command>)</para>
|
---|
[cba2d4e] | 529 | <indexterm zone="ch-system-systemd poweroff">
|
---|
| 530 | <primary sortas="b-poweroff">poweroff</primary>
|
---|
| 531 | </indexterm>
|
---|
| 532 | </listitem>
|
---|
| 533 | </varlistentry>
|
---|
| 534 |
|
---|
| 535 | <varlistentry id="reboot">
|
---|
| 536 | <term><command>reboot</command></term>
|
---|
[f896e21c] | 537 | <listitem>
|
---|
[6dfcfecc] | 538 | <para>Instructs the kernel to reboot the system (see
|
---|
[1118b17] | 539 | <command>halt</command>)</para>
|
---|
[cba2d4e] | 540 | <indexterm zone="ch-system-systemd reboot">
|
---|
| 541 | <primary sortas="b-reboot">reboot</primary>
|
---|
[f896e21c] | 542 | </indexterm>
|
---|
| 543 | </listitem>
|
---|
| 544 | </varlistentry>
|
---|
| 545 |
|
---|
[78cc3be] | 546 | <varlistentry id="resolvconf">
|
---|
| 547 | <term><command>resolvconf</command></term>
|
---|
| 548 | <listitem>
|
---|
[6dfcfecc] | 549 | <para>Registers DNS server and domain configuration with
|
---|
[93058448] | 550 | <command>systemd-resolved</command></para>
|
---|
[78cc3be] | 551 | <indexterm zone="ch-system-systemd resolvconf">
|
---|
| 552 | <primary sortas="b-resolvconf">resolvconf</primary>
|
---|
| 553 | </indexterm>
|
---|
| 554 | </listitem>
|
---|
| 555 | </varlistentry>
|
---|
| 556 |
|
---|
| 557 | <varlistentry id="resolvectl">
|
---|
| 558 | <term><command>resolvectl</command></term>
|
---|
| 559 | <listitem>
|
---|
[6dfcfecc] | 560 | <para>Sends control commands to the network name resolution
|
---|
| 561 | manager, or resolves domain names, IPv4 and IPv6 addresses,
|
---|
[4c8c128] | 562 | DNS records, and services</para>
|
---|
[78cc3be] | 563 | <indexterm zone="ch-system-systemd resolvectl">
|
---|
| 564 | <primary sortas="b-resolvectl">resolvectl</primary>
|
---|
| 565 | </indexterm>
|
---|
| 566 | </listitem>
|
---|
| 567 | </varlistentry>
|
---|
| 568 |
|
---|
[cba2d4e] | 569 | <varlistentry id="runlevel">
|
---|
| 570 | <term><command>runlevel</command></term>
|
---|
[f896e21c] | 571 | <listitem>
|
---|
[6dfcfecc] | 572 | <para>Outputs the previous and the current run-level, as noted in the
|
---|
[edd83dc] | 573 | last run-level record in <filename>/run/utmp</filename></para>
|
---|
[cba2d4e] | 574 | <indexterm zone="ch-system-systemd runlevel">
|
---|
| 575 | <primary sortas="b-runlevel">runlevel</primary>
|
---|
[f896e21c] | 576 | </indexterm>
|
---|
| 577 | </listitem>
|
---|
| 578 | </varlistentry>
|
---|
| 579 |
|
---|
[cba2d4e] | 580 | <varlistentry id="shutdown">
|
---|
| 581 | <term><command>shutdown</command></term>
|
---|
[f896e21c] | 582 | <listitem>
|
---|
[d672ab7] | 583 | <para>Brings the system down in a safe and secure manner, signaling
|
---|
[6dfcfecc] | 584 | all processes and notifying all logged-in users</para>
|
---|
[cba2d4e] | 585 | <indexterm zone="ch-system-systemd shutdown">
|
---|
| 586 | <primary sortas="b-shutdown">shutdown</primary>
|
---|
[f896e21c] | 587 | </indexterm>
|
---|
| 588 | </listitem>
|
---|
| 589 | </varlistentry>
|
---|
| 590 |
|
---|
[cba2d4e] | 591 | <varlistentry id="systemctl">
|
---|
| 592 | <term><command>systemctl</command></term>
|
---|
[f896e21c] | 593 | <listitem>
|
---|
[6dfcfecc] | 594 | <para>Is used to introspect and control the state of the systemd system
|
---|
[1118b17] | 595 | and service manager</para>
|
---|
[cba2d4e] | 596 | <indexterm zone="ch-system-systemd systemctl">
|
---|
| 597 | <primary sortas="b-systemctl">systemctl</primary>
|
---|
| 598 | </indexterm>
|
---|
| 599 | </listitem>
|
---|
| 600 | </varlistentry>
|
---|
| 601 |
|
---|
| 602 | <varlistentry id="systemd-analyze">
|
---|
| 603 | <term><command>systemd-analyze</command></term>
|
---|
| 604 | <listitem>
|
---|
[6dfcfecc] | 605 | <para>Is used to determine system startup performance of the current
|
---|
| 606 | boot, as well as identify troublesome systemd units</para>
|
---|
[cba2d4e] | 607 | <indexterm zone="ch-system-systemd systemd-analyze">
|
---|
| 608 | <primary sortas="b-systemd-analyze">systemd-analyze</primary>
|
---|
| 609 | </indexterm>
|
---|
| 610 | </listitem>
|
---|
| 611 | </varlistentry>
|
---|
| 612 |
|
---|
| 613 | <varlistentry id="systemd-ask-password">
|
---|
| 614 | <term><command>systemd-ask-password</command></term>
|
---|
| 615 | <listitem>
|
---|
[6dfcfecc] | 616 | <para>Is used to query a system password or passphrase from the user,
|
---|
[1118b17] | 617 | using a question message specified on the command line</para>
|
---|
[cba2d4e] | 618 | <indexterm zone="ch-system-systemd systemd-ask-password">
|
---|
| 619 | <primary sortas="b-systemd-ask-password">systemd-ask-password</primary>
|
---|
| 620 | </indexterm>
|
---|
| 621 | </listitem>
|
---|
| 622 | </varlistentry>
|
---|
| 623 |
|
---|
| 624 | <varlistentry id="systemd-cat">
|
---|
| 625 | <term><command>systemd-cat</command></term>
|
---|
| 626 | <listitem>
|
---|
[6dfcfecc] | 627 | <para>Is used to connect the STDOUT and STDERR outputs of a process
|
---|
[4c8c128] | 628 | with the systemd journal
|
---|
[cba2d4e] | 629 | </para>
|
---|
| 630 | <indexterm zone="ch-system-systemd systemd-cat">
|
---|
| 631 | <primary sortas="b-systemd-cat">systemd-cat</primary>
|
---|
| 632 | </indexterm>
|
---|
| 633 | </listitem>
|
---|
| 634 | </varlistentry>
|
---|
| 635 |
|
---|
| 636 | <varlistentry id="systemd-cgls">
|
---|
| 637 | <term><command>systemd-cgls</command></term>
|
---|
| 638 | <listitem>
|
---|
[1118b17] | 639 | <para>Recursively shows the contents of the selected Linux control
|
---|
| 640 | group hierarchy in a tree</para>
|
---|
[cba2d4e] | 641 | <indexterm zone="ch-system-systemd systemd-cgls">
|
---|
| 642 | <primary sortas="b-systemd-cgls">systemd-cgls</primary>
|
---|
| 643 | </indexterm>
|
---|
| 644 | </listitem>
|
---|
| 645 | </varlistentry>
|
---|
| 646 |
|
---|
| 647 | <varlistentry id="systemd-cgtop">
|
---|
| 648 | <term><command>systemd-cgtop</command></term>
|
---|
| 649 | <listitem>
|
---|
[1118b17] | 650 | <para>Shows the top control groups of the local Linux control group
|
---|
| 651 | hierarchy, ordered by their CPU, memory and disk I/O load</para>
|
---|
[cba2d4e] | 652 | <indexterm zone="ch-system-systemd systemd-cgtop">
|
---|
| 653 | <primary sortas="b-systemd-cgtop">systemd-cgtop</primary>
|
---|
| 654 | </indexterm>
|
---|
| 655 | </listitem>
|
---|
| 656 | </varlistentry>
|
---|
| 657 |
|
---|
[662f649] | 658 | <varlistentry id="systemd-creds">
|
---|
| 659 | <term><command>systemd-creds</command></term>
|
---|
[d7a9421] | 660 | <listitem>
|
---|
[9f0a642] | 661 | <para>Displays and processes credentials</para>
|
---|
[662f649] | 662 | <indexterm zone="ch-system-systemd systemd-creds">
|
---|
| 663 | <primary sortas="b-systemd-creds">systemd-creds</primary>
|
---|
[d7a9421] | 664 | </indexterm>
|
---|
| 665 | </listitem>
|
---|
| 666 | </varlistentry>
|
---|
| 667 |
|
---|
[cba2d4e] | 668 | <varlistentry id="systemd-delta">
|
---|
| 669 | <term><command>systemd-delta</command></term>
|
---|
| 670 | <listitem>
|
---|
[6dfcfecc] | 671 | <para>Is used to identify and compare configuration files in
|
---|
[cba2d4e] | 672 | <filename class="directory">/etc</filename> that override default
|
---|
[1118b17] | 673 | counterparts in <filename class="directory">/usr</filename></para>
|
---|
[cba2d4e] | 674 | <indexterm zone="ch-system-systemd systemd-delta">
|
---|
| 675 | <primary sortas="b-systemd-delta">systemd-delta</primary>
|
---|
| 676 | </indexterm>
|
---|
| 677 | </listitem>
|
---|
| 678 | </varlistentry>
|
---|
| 679 |
|
---|
| 680 | <varlistentry id="systemd-detect-virt">
|
---|
| 681 | <term><command>systemd-detect-virt</command></term>
|
---|
| 682 | <listitem>
|
---|
[6dfcfecc] | 683 | <para>Detects whether the system is being run in a virtual
|
---|
[4c8c128] | 684 | environment, and adjusts udev accordingly</para>
|
---|
[cba2d4e] | 685 | <indexterm zone="ch-system-systemd systemd-detect-virt">
|
---|
| 686 | <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary>
|
---|
| 687 | </indexterm>
|
---|
| 688 | </listitem>
|
---|
| 689 | </varlistentry>
|
---|
| 690 |
|
---|
[38de42d] | 691 | <varlistentry id="systemd-dissect">
|
---|
| 692 | <term><command>systemd-dissect</command></term>
|
---|
| 693 | <listitem>
|
---|
[4c8c128] | 694 | <para>Is used to inspect OS disk images</para>
|
---|
[38de42d] | 695 | <indexterm zone="ch-system-systemd systemd-dissect">
|
---|
| 696 | <primary sortas="b-systemd-dissect">systemd-dissect</primary>
|
---|
| 697 | </indexterm>
|
---|
| 698 | </listitem>
|
---|
| 699 | </varlistentry>
|
---|
| 700 |
|
---|
[1118b17] | 701 | <varlistentry id="systemd-escape">
|
---|
| 702 | <term><command>systemd-escape</command></term>
|
---|
| 703 | <listitem>
|
---|
[6dfcfecc] | 704 | <para>Is used to escape strings for inclusion in systemd unit
|
---|
[1118b17] | 705 | names</para>
|
---|
| 706 | <indexterm zone="ch-system-systemd systemd-escape">
|
---|
| 707 | <primary sortas="b-systemd-escape">systemd-escape</primary>
|
---|
| 708 | </indexterm>
|
---|
| 709 | </listitem>
|
---|
| 710 | </varlistentry>
|
---|
| 711 |
|
---|
| 712 | <varlistentry id="systemd-hwdb">
|
---|
| 713 | <term><command>systemd-hwdb</command></term>
|
---|
| 714 | <listitem>
|
---|
[6dfcfecc] | 715 | <para>Is used to manage the hardware database (hwdb)</para>
|
---|
[1118b17] | 716 | <indexterm zone="ch-system-systemd systemd-hwdb">
|
---|
| 717 | <primary sortas="b-systemd-hwdb">systemd-hwdb</primary>
|
---|
| 718 | </indexterm>
|
---|
| 719 | </listitem>
|
---|
| 720 | </varlistentry>
|
---|
| 721 |
|
---|
[78cc3be] | 722 | <varlistentry id="systemd-id128">
|
---|
| 723 | <term><command>systemd-id128</command></term>
|
---|
| 724 | <listitem>
|
---|
[6dfcfecc] | 725 | <para>Generates and prints id128 strings</para>
|
---|
[78cc3be] | 726 | <indexterm zone="ch-system-systemd systemd-id128">
|
---|
| 727 | <primary sortas="b-systemd-id128">systemd-id128</primary>
|
---|
| 728 | </indexterm>
|
---|
| 729 | </listitem>
|
---|
| 730 | </varlistentry>
|
---|
| 731 |
|
---|
[cba2d4e] | 732 | <varlistentry id="systemd-inhibit">
|
---|
| 733 | <term><command>systemd-inhibit</command></term>
|
---|
| 734 | <listitem>
|
---|
[6dfcfecc] | 735 | <para>Is used to execute a program with a shutdown, sleep or idle
|
---|
| 736 | inhibitor lock taken, preventing an action such as a system shutdown
|
---|
[4c8c128] | 737 | until the process is completed</para>
|
---|
[cba2d4e] | 738 | <indexterm zone="ch-system-systemd systemd-inhibit">
|
---|
| 739 | <primary sortas="b-systemd-inhibit">systemd-inhibit</primary>
|
---|
| 740 | </indexterm>
|
---|
| 741 | </listitem>
|
---|
| 742 | </varlistentry>
|
---|
| 743 |
|
---|
| 744 | <varlistentry id="systemd-machine-id-setup">
|
---|
| 745 | <term><command>systemd-machine-id-setup</command></term>
|
---|
| 746 | <listitem>
|
---|
[6dfcfecc] | 747 | <para>Is used by system installer tools to initialize the machine ID
|
---|
[1118b17] | 748 | stored in <filename>/etc/machine-id</filename> at install time with a
|
---|
| 749 | randomly generated ID</para>
|
---|
[cba2d4e] | 750 | <indexterm zone="ch-system-systemd systemd-machine-id-setup">
|
---|
| 751 | <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary>
|
---|
| 752 | </indexterm>
|
---|
| 753 | </listitem>
|
---|
| 754 | </varlistentry>
|
---|
| 755 |
|
---|
[13c8b42] | 756 | <varlistentry id="systemd-mount">
|
---|
| 757 | <term><command>systemd-mount</command></term>
|
---|
| 758 | <listitem>
|
---|
[4c8c128] | 759 | <para>Is used to temporarily mount or automount disks</para>
|
---|
[13c8b42] | 760 | <indexterm zone="ch-system-systemd systemd-mount">
|
---|
| 761 | <primary sortas="b-systemd-mount">systemd-mount</primary>
|
---|
| 762 | </indexterm>
|
---|
| 763 | </listitem>
|
---|
| 764 | </varlistentry>
|
---|
| 765 |
|
---|
[cba2d4e] | 766 | <varlistentry id="systemd-notify">
|
---|
| 767 | <term><command>systemd-notify</command></term>
|
---|
| 768 | <listitem>
|
---|
[6dfcfecc] | 769 | <para>Is used by daemon scripts to notify the init system about status
|
---|
[1118b17] | 770 | changes</para>
|
---|
[cba2d4e] | 771 | <indexterm zone="ch-system-systemd systemd-notify">
|
---|
| 772 | <primary sortas="b-systemd-notify">systemd-notify</primary>
|
---|
| 773 | </indexterm>
|
---|
| 774 | </listitem>
|
---|
| 775 | </varlistentry>
|
---|
| 776 |
|
---|
| 777 | <varlistentry id="systemd-nspawn">
|
---|
| 778 | <term><command>systemd-nspawn</command></term>
|
---|
| 779 | <listitem>
|
---|
[6dfcfecc] | 780 | <para>Is used to run a command or OS in a light-weight namespace
|
---|
[1118b17] | 781 | container</para>
|
---|
[cba2d4e] | 782 | <indexterm zone="ch-system-systemd systemd-nspawn">
|
---|
| 783 | <primary sortas="b-systemd-nspawn">systemd-nspawn</primary>
|
---|
| 784 | </indexterm>
|
---|
| 785 | </listitem>
|
---|
| 786 | </varlistentry>
|
---|
| 787 |
|
---|
[1118b17] | 788 | <varlistentry id="systemd-path">
|
---|
| 789 | <term><command>systemd-path</command></term>
|
---|
| 790 | <listitem>
|
---|
[6dfcfecc] | 791 | <para>Is used to query system and user paths</para>
|
---|
[1118b17] | 792 | <indexterm zone="ch-system-systemd systemd-path">
|
---|
| 793 | <primary sortas="b-systemd-path">systemd-path</primary>
|
---|
| 794 | </indexterm>
|
---|
| 795 | </listitem>
|
---|
| 796 | </varlistentry>
|
---|
| 797 |
|
---|
[d1fbbd0] | 798 | <varlistentry id="systemd-repart">
|
---|
| 799 | <term><command>systemd-repart</command></term>
|
---|
| 800 | <listitem>
|
---|
[6dfcfecc] | 801 | <para>Is used to grow and add partitions to a partition table when
|
---|
[4c8c128] | 802 | systemd is used in an OS image (e.g. a container)</para>
|
---|
[d1fbbd0] | 803 | <indexterm zone="ch-system-systemd systemd-repart">
|
---|
| 804 | <primary sortas="b-systemd-repart">systemd-repart</primary>
|
---|
| 805 | </indexterm>
|
---|
| 806 | </listitem>
|
---|
| 807 | </varlistentry>
|
---|
| 808 |
|
---|
[1118b17] | 809 | <varlistentry id="systemd-resolve">
|
---|
| 810 | <term><command>systemd-resolve</command></term>
|
---|
| 811 | <listitem>
|
---|
[6dfcfecc] | 812 | <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS
|
---|
[1118b17] | 813 | resource records, and services</para>
|
---|
| 814 | <indexterm zone="ch-system-systemd systemd-resolve">
|
---|
| 815 | <primary sortas="b-systemd-resolve">systemd-resolve</primary>
|
---|
| 816 | </indexterm>
|
---|
| 817 | </listitem>
|
---|
| 818 | </varlistentry>
|
---|
| 819 |
|
---|
[cba2d4e] | 820 | <varlistentry id="systemd-run">
|
---|
| 821 | <term><command>systemd-run</command></term>
|
---|
| 822 | <listitem>
|
---|
[6dfcfecc] | 823 | <para>Is used to create and start a transient .service or a .scope
|
---|
| 824 | unit and run the specified command in it. This is useful for
|
---|
[4c8c128] | 825 | validating systemd units</para>
|
---|
[cba2d4e] | 826 | <indexterm zone="ch-system-systemd systemd-run">
|
---|
| 827 | <primary sortas="b-systemd-run">systemd-run</primary>
|
---|
| 828 | </indexterm>
|
---|
| 829 | </listitem>
|
---|
| 830 | </varlistentry>
|
---|
| 831 |
|
---|
[13c8b42] | 832 | <varlistentry id="systemd-socket-activate">
|
---|
| 833 | <term><command>systemd-socket-activate</command></term>
|
---|
| 834 | <listitem>
|
---|
[6dfcfecc] | 835 | <para>Is used to listen on socket devices and launch a process upon
|
---|
[4c8c128] | 836 | a successful connection to the socket</para>
|
---|
[13c8b42] | 837 | <indexterm zone="ch-system-systemd systemd-socket-activate">
|
---|
| 838 | <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary>
|
---|
| 839 | </indexterm>
|
---|
| 840 | </listitem>
|
---|
| 841 | </varlistentry>
|
---|
| 842 |
|
---|
[d7a9421] | 843 | <varlistentry id="systemd-sysext">
|
---|
| 844 | <term><command>systemd-sysext</command></term>
|
---|
| 845 | <listitem>
|
---|
[871fd2f] | 846 | <para>Activates system extension images</para>
|
---|
[d7a9421] | 847 | <indexterm zone="ch-system-systemd systemd-sysext">
|
---|
| 848 | <primary sortas="b-systemd-sysext">systemd-sysext</primary>
|
---|
| 849 | </indexterm>
|
---|
| 850 | </listitem>
|
---|
| 851 | </varlistentry>
|
---|
| 852 |
|
---|
[cba2d4e] | 853 | <varlistentry id="systemd-tmpfiles">
|
---|
| 854 | <term><command>systemd-tmpfiles</command></term>
|
---|
| 855 | <listitem>
|
---|
[1118b17] | 856 | <para>Creates, deletes and cleans up volatile and temporary files and
|
---|
| 857 | directories, based on the configuration file format and location
|
---|
| 858 | specified in
|
---|
| 859 | <filename class="directory">tmpfiles.d</filename> directories</para>
|
---|
[cba2d4e] | 860 | <indexterm zone="ch-system-systemd systemd-tmpfiles">
|
---|
| 861 | <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary>
|
---|
| 862 | </indexterm>
|
---|
| 863 | </listitem>
|
---|
| 864 | </varlistentry>
|
---|
| 865 |
|
---|
[78cc3be] | 866 | <varlistentry id="systemd-umount">
|
---|
| 867 | <term><command>systemd-umount</command></term>
|
---|
| 868 | <listitem>
|
---|
[6dfcfecc] | 869 | <para>Unmounts mount points</para>
|
---|
[78cc3be] | 870 | <indexterm zone="ch-system-systemd systemd-umount">
|
---|
| 871 | <primary sortas="b-systemd-umount">systemd-umount</primary>
|
---|
| 872 | </indexterm>
|
---|
| 873 | </listitem>
|
---|
| 874 | </varlistentry>
|
---|
| 875 |
|
---|
[cba2d4e] | 876 | <varlistentry id="systemd-tty-ask-password-agent">
|
---|
| 877 | <term><command>systemd-tty-ask-password-agent</command></term>
|
---|
| 878 | <listitem>
|
---|
[d672ab7] | 879 | <para>Is used to list and/or process pending systemd password
|
---|
[6dfcfecc] | 880 | requests</para>
|
---|
[cba2d4e] | 881 | <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent">
|
---|
| 882 | <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary>
|
---|
| 883 | </indexterm>
|
---|
| 884 | </listitem>
|
---|
| 885 | </varlistentry>
|
---|
| 886 |
|
---|
| 887 | <varlistentry id="telinit">
|
---|
| 888 | <term><command>telinit</command></term>
|
---|
| 889 | <listitem>
|
---|
[1118b17] | 890 | <para>Tells <command>init</command> which run-level to change
|
---|
| 891 | to</para>
|
---|
[cba2d4e] | 892 | <indexterm zone="ch-system-systemd telinit">
|
---|
| 893 | <primary sortas="b-telinit">telinit</primary>
|
---|
| 894 | </indexterm>
|
---|
| 895 | </listitem>
|
---|
| 896 | </varlistentry>
|
---|
| 897 |
|
---|
| 898 | <varlistentry id="timedatectl">
|
---|
| 899 | <term><command>timedatectl</command></term>
|
---|
| 900 | <listitem>
|
---|
[6dfcfecc] | 901 | <para>Is used to query and change the system clock and its settings
|
---|
[cba2d4e] | 902 | </para>
|
---|
| 903 | <indexterm zone="ch-system-systemd timedatectl">
|
---|
| 904 | <primary sortas="b-timedatectl">timedatectl</primary>
|
---|
[f896e21c] | 905 | </indexterm>
|
---|
| 906 | </listitem>
|
---|
| 907 | </varlistentry>
|
---|
| 908 |
|
---|
| 909 | <varlistentry id="udevadm">
|
---|
| 910 | <term><command>udevadm</command></term>
|
---|
| 911 | <listitem>
|
---|
[d672ab7] | 912 | <para>Is a generic udev administration tool which controls the udevd
|
---|
| 913 | daemon, provides info from the Udev hardware database, monitors
|
---|
| 914 | uevents, waits for uevents to finish, tests udev configuration, and
|
---|
[6dfcfecc] | 915 | triggers uevents for a given device</para>
|
---|
[cba2d4e] | 916 | <indexterm zone="ch-system-systemd udevadm">
|
---|
[f896e21c] | 917 | <primary sortas="b-udevadm">udevadm</primary>
|
---|
| 918 | </indexterm>
|
---|
| 919 | </listitem>
|
---|
| 920 | </varlistentry>
|
---|
| 921 |
|
---|
[cba2d4e] | 922 | <varlistentry id="libsystemd">
|
---|
| 923 | <term><filename class="libraryfile">libsystemd</filename></term>
|
---|
[f896e21c] | 924 | <listitem>
|
---|
[6dfcfecc] | 925 | <para>Is the main systemd utility library</para>
|
---|
[cba2d4e] | 926 | <indexterm zone="ch-system-systemd libsystemd">
|
---|
| 927 | <primary sortas="c-libsystemd">libsystemd</primary>
|
---|
[f896e21c] | 928 | </indexterm>
|
---|
| 929 | </listitem>
|
---|
| 930 | </varlistentry>
|
---|
| 931 |
|
---|
| 932 | <varlistentry id="libudev">
|
---|
| 933 | <term><filename class="libraryfile">libudev</filename></term>
|
---|
| 934 | <listitem>
|
---|
[6dfcfecc] | 935 | <para>Is a library to access Udev device information</para>
|
---|
[cba2d4e] | 936 | <indexterm zone="ch-system-systemd libudev">
|
---|
[f896e21c] | 937 | <primary sortas="c-libudev">libudev</primary>
|
---|
| 938 | </indexterm>
|
---|
| 939 | </listitem>
|
---|
| 940 | </varlistentry>
|
---|
| 941 |
|
---|
| 942 | </variablelist>
|
---|
| 943 |
|
---|
| 944 | </sect2>
|
---|
| 945 |
|
---|
| 946 | </sect1>
|
---|