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