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