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