Changeset 1118b17 for chapter06/systemd.xml
- Timestamp:
- 05/24/2016 09:24:59 PM (8 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 77ab7f3
- Parents:
- 11ebea6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/systemd.xml
r11ebea6 r1118b17 18 18 19 19 <indexterm zone="ch-system-systemd"> 20 <primary sortas="a- Systemd">Systemd</primary>20 <primary sortas="a-systemd">systemd</primary> 21 21 </indexterm> 22 22 … … 24 24 <title/> 25 25 26 <para>The Systemd package contains programs for controlling the startup,26 <para>The systemd package contains programs for controlling the startup, 27 27 running, and shutdown of the system.</para> 28 28 … … 39 39 40 40 <sect2 role="installation"> 41 <title>Installation of Systemd</title> 42 43 <note><para>If systemd is not desired at all, it can be skipped. However a 44 udev replacement must be installed. See the hint at <ulink 45 url="http://www.linuxfromscratch.org/hints/downloads/files/eudev-alt-hint.txt"/> 46 to find procedures to install 47 <application>eudev</application>.</para></note> 48 49 <para>First, create a file to allow Systemd to build when using Util-Linux 50 built in Chapter 5:</para> 41 <title>Installation of systemd</title> 42 43 <para>First, fix a build error when using Util-Linux built in 44 Chapter 5:</para> 45 46 <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen> 47 48 <para>Apply the following patch so that compat 49 <command>pkg-config</command> files get installed without installing compat 50 libs which are useless on LFS:</para> 51 52 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> 53 54 <para>Disable two tests that always fail:</para> 55 56 <screen><userinput remap="pre">sed -e 's@test/udev-test.pl @@' \ 57 -e 's@test-copy$(EXEEXT) @@' \ 58 -i Makefile.in</userinput></screen> 59 60 <para>Rebuild generated files after modifying Makefile.am and 61 Makefile.in:</para> 62 63 <screen><userinput remap="pre">autoreconf -fi</userinput></screen> 64 65 <para>Create a file to allow systemd to build when using Util-Linux 66 built in Chapter 5, to disable LTO by default, and to build without 67 xlstproc:</para> 51 68 52 69 <screen><userinput remap="pre">cat > config.cache << "EOF" 53 70 <literal>KILL=/bin/kill 71 MOUNT_PATH=/bin/mount 72 UMOUNT_PATH=/bin/umount 54 73 HAVE_BLKID=1 55 74 BLKID_LIBS="-lblkid" 56 75 BLKID_CFLAGS="-I/tools/include/blkid" 57 cc_cv_CFLAGS__flto=no</literal> 76 HAVE_LIBMOUNT=1 77 MOUNT_LIBS="-lmount" 78 MOUNT_CFLAGS="-I/tools/include/libmount" 79 cc_cv_CFLAGS__flto=no 80 XSLTPROC="/usr/bin/xsltproc"</literal> 58 81 EOF</userinput></screen> 59 82 60 <para>Additionally, fix a build error when using Util-Linux built in 61 Chapter 5:</para> 62 63 <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen> 64 65 <para>Apply a patch so that compat <command>pkg-config</command> files get 66 installed without installing compat libs which are useless on LFS:</para> 67 68 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> 69 70 <para>Prepare Systemd for compilation:</para> 71 72 <screen><userinput remap="configure">./configure --prefix=/usr \ 73 --sysconfdir=/etc \ 74 --localstatedir=/var \ 75 --config-cache \ 76 --with-rootprefix= \ 77 --with-rootlibdir=/lib \ 78 --enable-split-usr \ 79 --disable-gudev \ 80 --without-python \ 81 --docdir=/usr/share/doc/systemd-&systemd-version; \ 82 --with-dbuspolicydir=/etc/dbus-1/system.d \ 83 --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \ 84 --with-dbussessionservicedir=/usr/share/dbus-1/services \ 85 --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen> 83 <para>LTO is disabled by default because it causes 84 <command>systemd</command> and other auxiliary programs to link to 85 <filename class="libraryfile">libgcc_s.so</filename>, slows the build down 86 and makes the compiled code larger.</para> 87 88 <para>Prepare systemd for compilation:</para> 89 90 <screen><userinput remap="configure">./configure --prefix=/usr \ 91 --sysconfdir=/etc \ 92 --localstatedir=/var \ 93 --config-cache \ 94 --with-rootprefix= \ 95 --with-rootlibdir=/lib \ 96 --enable-split-usr \ 97 --disable-firstboot \ 98 --disable-ldconfig \ 99 --disable-sysusers \ 100 --without-python \ 101 --docdir=/usr/share/doc/systemd-&systemd-version;</userinput></screen> 86 102 87 103 <variablelist> … … 109 125 <term><parameter>--enable-split-usr</parameter></term> 110 126 <listitem> 111 <para>This switch ensures that Systemd will work on127 <para>This switch ensures that systemd will work on 112 128 systems where /bin, /lib and /sbin directories are not 113 129 symlinks to their /usr counterparts.</para> … … 116 132 117 133 <varlistentry> 118 <term><parameter>--disable-gudev --without-python</parameter></term> 119 <listitem> 120 <para>These switches disable optional features because 121 LFS does not provide their dependencies.</para> 134 <term><parameter>--without-python</parameter></term> 135 <listitem> 136 <para>This switch prevents <command>configure</command> 137 from trying to use Python which isn't built 138 in LFS.</para> 122 139 </listitem> 123 140 </varlistentry> 124 141 125 142 <varlistentry> 126 <term><parameter>--with-dbus*</parameter></term> 127 <listitem> 128 <para>These switches ensure that D-Bus configuratil files 129 get installed in the correct locations.</para> 143 <term><parameter>--disable-firstboot</parameter></term> 144 <listitem> 145 <para>This switch prevents installation of systemd 146 services responsible for setting up the system for 147 the first time. They are not useful for LFS because 148 everything is done manually.</para> 149 </listitem> 150 </varlistentry> 151 152 <varlistentry> 153 <term><parameter>--disable-ldconfig</parameter></term> 154 <listitem> 155 <para>This switch prevents installation of a systemd 156 unit that runs <command>ldconfig</command> at 157 boot, making the boot time longer. Remove it if the 158 described feature is desired, even though it's not 159 useful for source distributions such as LFS.</para> 160 </listitem> 161 </varlistentry> 162 163 <varlistentry> 164 <term><parameter>--disable-sysusers</parameter></term> 165 <listitem> 166 <para>This switch prevents installation of systemd 167 services responsible for setting up the 168 <filename>/etc/group</filename> and 169 <filename>/etc/passwd</filename> files. Both files 170 were created early in this chapter.</para> 130 171 </listitem> 131 172 </varlistentry> … … 137 178 <screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen> 138 179 139 <para>First prevent few broken test cases from running:</para> 140 141 <screen><userinput remap="test">sed -e "s:test/udev-test.pl::g" \ 142 -e "s:test-bus-cleanup\$(EXEEXT) ::g" \ 143 -e "s:test-bus-gvariant\$(EXEEXT) ::g" \ 144 -i Makefile</userinput></screen> 145 146 <para>To test the results, issue:</para> 147 148 <screen><userinput remap="test">make -k check</userinput></screen> 149 150 <para>Note that some tests might fail because the test are being run in a 151 chroot environment. For full test coverage, the test suite should be run 152 from a system booted using Systemd.</para> 180 <para>This package has a test suite, but it can only be run after the 181 package has been installed.</para> 153 182 154 183 <para>Install the package:</para> … … 156 185 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen> 157 186 158 <para>Move NSS myhostname library to <filename 159 class="directory">/lib</filename>:</para> 160 161 <screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen> 187 <para>Move NSS libraries to <filename class="directory">/lib</filename>:</para> 188 189 <screen><userinput remap="install">mv -v /usr/lib/libnss_{myhostname,mymachines,resolve}.so.2 /lib</userinput></screen> 162 190 163 191 <para>Remove an unnecessary directory:</para> … … 165 193 <screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen> 166 194 167 <para>Create the Sysvinit compatibility symlinks, and move some man pages 168 and a library that conflict with <xref linkend="ch-system-sysvinit"/> so 169 both systems can be installed side-by-side:</para> 195 <para>Create the Sysvinit compatibility symlinks, so systemd is used 196 as the default init system:</para> 170 197 171 198 <screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do 172 ln -sfv ../bin/systemctl /sbin/${tool}-systemd 173 mv -v /usr/share/man/man8/${tool}.8 /usr/share/man/man8/${tool}-systemd.8 199 ln -sfv ../bin/systemctl /sbin/${tool} 174 200 done 175 176 ln -sfv ../lib/systemd/systemd /sbin/init-systemd 177 mv -v /etc/init.d /etc/init.d-systemd</userinput></screen> 178 201 ln -sfv ../lib/systemd/systemd /sbin/init</userinput></screen> 202 203 <!-- 179 204 <para>Remove a reference to a non-existent group:</para> 180 205 181 206 <screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen> 207 --> 182 208 183 209 <para>Create the <filename>/etc/machine-id</filename> file needed by 184 Journald:</para>210 <command>systemd-journald</command>:</para> 185 211 186 212 <screen><userinput remap="install">systemd-machine-id-setup</userinput></screen> 187 213 188 <para>Finally install some LFS specific udev rules:</para> 189 190 <screen><userinput remap="install">tar -xf ../&udev-lfs-version;.tar.bz2 191 make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen> 214 <para>Since the testsuite largely depends on the host system kernel 215 configuration, some tests may fail. It also needs a modification in 216 order not to look for a program that will be installed by Util-Linux 217 package later in this chapter. To test the results, issue:</para> 218 219 <screen><userinput remap="test">sed -i "s:minix:ext4:g" src/test/test-path-util.c 220 make LD_LIBRARY_PATH=/tools/lib -k check</userinput></screen> 192 221 193 222 </sect2> 194 223 195 224 <sect2 id="contents-systemd" role="content"> 196 <title>Contents of Systemd</title>225 <title>Contents of systemd</title> 197 226 198 227 <segmentedlist> … … 202 231 203 232 <seglistitem> 204 <seg>bootctl, busctl, halt, hostnamectl, init, journalctl, kernel-install, 205 localectl, loginctl, machinectl, poweroff, reboot, runlevel, shutdown, 206 systemctl, systemd-analyze, systemd-ask-password, systemd-cat, systemd-cgls, 207 systemd-cgtop, systemd-coredumpctl, systemd-delta, systemd-detect-virt, 208 systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn, 209 systemd-run, systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, 233 <seg>bootctl, busctl, coredumpctl, halt, hostnamectl, init, journalctl, 234 kernel-install, localectl, loginctl, machinectl, networkctl, poweroff, 235 reboot, runlevel, shutdown, systemctl, systemd-analyze, 236 systemd-ask-password, systemd-cat, systemd-cgls, systemd-cgtop, 237 systemd-delta, systemd-detect-virt, systemd-escape, systemd-hwdb, 238 systemd-inhibit, systemd-machine-id-setup, systemd-notify, 239 systemd-nspawn, systemd-path, systemd-resolve, systemd-run, 240 systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, 210 241 telinit, timedatectl, and udevadm</seg> 211 212 <seg>libnss_myhostname.so.2, libsystemd.so,libudev.so</seg>242 <seg>libnss_myhostname.so.2, libnss_mymachines.so.2, 243 libnss_resolve.so.2, libsystemd.so, and libudev.so</seg> 213 244 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, 214 245 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, … … 216 247 /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d, 217 248 /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d, 218 /usr/share/doc/systemd-&systemd-version;, /usr/share/ systemd,219 / var/lib/systemd,/var/log/journal</seg>249 /usr/share/doc/systemd-&systemd-version;, /usr/share/factory, 250 /usr/share/systemd, /var/lib/systemd, and /var/log/journal</seg> 220 251 </seglistitem> 221 252 </segmentedlist> … … 229 260 <term><command>bootctl</command></term> 230 261 <listitem> 231 <para>used to query the firmware and boot manager settings .</para>262 <para>used to query the firmware and boot manager settings</para> 232 263 <indexterm zone="ch-system-systemd bootctl"> 233 264 <primary sortas="b-bootctl">bootctl</primary> … … 239 270 <term><command>busctl</command></term> 240 271 <listitem> 241 <para> used to introspect and monitor the D-Bus bus.</para>272 <para>Used to introspect and monitor the D-Bus bus</para> 242 273 <indexterm zone="ch-system-systemd busctl"> 243 274 <primary sortas="b-busctl">busctl</primary> 275 </indexterm> 276 </listitem> 277 </varlistentry> 278 279 <varlistentry id="coredumpctl"> 280 <term><command>coredumpctl</command></term> 281 <listitem> 282 <para>Used to retrieve coredumps from the systemd Journal</para> 283 <indexterm zone="ch-system-systemd coredumpctl"> 284 <primary sortas="b-coredumpctl">coredumpctl</primary> 244 285 </indexterm> 245 286 </listitem> … … 253 294 then it tells the kernel to halt the system; it notes in the 254 295 file <filename>/var/log/wtmp</filename> that the system is being 255 brought down .</para>296 brought down</para> 256 297 <indexterm zone="ch-system-systemd halt"> 257 298 <primary sortas="b-halt">halt</primary> … … 263 304 <term><command>hostnamectl</command></term> 264 305 <listitem> 265 <para> used to query and change the system hostname and related266 settings .</para>306 <para>Used to query and change the system hostname and related 307 settings</para> 267 308 <indexterm zone="ch-system-systemd hostnamectl"> 268 309 <primary sortas="b-hostnamectl">hostnamectl</primary> … … 276 317 <para>The first process to be started when the kernel has initialized 277 318 the hardware which takes over the boot process and starts all the 278 proceses it is instructed to .</para>319 proceses it is instructed to</para> 279 320 <indexterm zone="ch-system-systemd init"> 280 321 <primary sortas="b-init">init</primary> … … 286 327 <term><command>journalctl</command></term> 287 328 <listitem> 288 <para> used to query the contents of the Systemd Journal.</para>329 <para>Used to query the contents of the systemd Journal</para> 289 330 <indexterm zone="ch-system-systemd journalctl"> 290 331 <primary sortas="b-journalctl">journalctl</primary> … … 296 337 <term><command>kernel-install</command></term> 297 338 <listitem> 298 <para> used to add and remove kernel and initramfs images to and299 from /boot .</para>339 <para>Used to add and remove kernel and initramfs images to and 340 from /boot</para> 300 341 <indexterm zone="ch-system-systemd kernel-install"> 301 342 <primary sortas="b-kernel-install">kernel-install</primary> … … 307 348 <term><command>localectl</command></term> 308 349 <listitem> 309 <para> used to query and change the system locale and keyboard layout310 settings .</para>350 <para>Used to query and change the system locale and keyboard layout 351 settings</para> 311 352 <indexterm zone="ch-system-systemd localectl"> 312 353 <primary sortas="b-localectl">localectl</primary> … … 318 359 <term><command>loginctl</command></term> 319 360 <listitem> 320 <para> used to introspect and control the state of the Systemd Login321 Manager .</para>361 <para>Used to introspect and control the state of the systemd Login 362 Manager</para> 322 363 <indexterm zone="ch-system-systemd loginctl"> 323 364 <primary sortas="b-loginctl">loginctl</primary> … … 329 370 <term><command>machinectl</command></term> 330 371 <listitem> 331 <para> used to introspect and control the state of the Systemd Virtual372 <para>Used to introspect and control the state of the systemd Virtual 332 373 Machine and Container Registration Manager</para> 333 374 <indexterm zone="ch-system-systemd machinectl"> … … 337 378 </varlistentry> 338 379 380 <varlistentry id="networkctl"> 381 <term><command>networkctl</command></term> 382 <listitem> 383 <para>Used to introspect the state of the network links as seen by 384 systemd-networkd</para> 385 <indexterm zone="ch-system-systemd networkctl"> 386 <primary sortas="b-networkctl">networkctl</primary> 387 </indexterm> 388 </listitem> 389 </varlistentry> 390 339 391 <varlistentry id="poweroff"> 340 392 <term><command>poweroff</command></term> 341 393 <listitem> 342 394 <para>Tells the kernel to halt the system and switch off the computer 343 (see <command>halt</command>) .</para>395 (see <command>halt</command>)</para> 344 396 <indexterm zone="ch-system-systemd poweroff"> 345 397 <primary sortas="b-poweroff">poweroff</primary> … … 352 404 <listitem> 353 405 <para>Tells the kernel to reboot the system (see 354 <command>halt</command>) .</para>406 <command>halt</command>)</para> 355 407 <indexterm zone="ch-system-systemd reboot"> 356 408 <primary sortas="b-reboot">reboot</primary> … … 363 415 <listitem> 364 416 <para>Reports the previous and the current run-level, as noted in the 365 last run-level record in <filename>/var/run/utmp</filename> .</para>417 last run-level record in <filename>/var/run/utmp</filename></para> 366 418 <indexterm zone="ch-system-systemd runlevel"> 367 419 <primary sortas="b-runlevel">runlevel</primary> … … 374 426 <listitem> 375 427 <para>Brings the system down in a secure way, signaling all processes 376 and notifying all logged-in users .</para>428 and notifying all logged-in users</para> 377 429 <indexterm zone="ch-system-systemd shutdown"> 378 430 <primary sortas="b-shutdown">shutdown</primary> … … 384 436 <term><command>systemctl</command></term> 385 437 <listitem> 386 <para> used to introspect and control the state of the Systemd system and387 service manager.</para>438 <para>Used to introspect and control the state of the systemd system 439 and service manager</para> 388 440 <indexterm zone="ch-system-systemd systemctl"> 389 441 <primary sortas="b-systemctl">systemctl</primary> … … 395 447 <term><command>systemd-analyze</command></term> 396 448 <listitem> 397 <para> used to determine system boot-up performance of the current boot.398 </para>449 <para>Used to determine system boot-up performance of the current 450 boot</para> 399 451 <indexterm zone="ch-system-systemd systemd-analyze"> 400 452 <primary sortas="b-systemd-analyze">systemd-analyze</primary> … … 406 458 <term><command>systemd-ask-password</command></term> 407 459 <listitem> 408 <para> used to query a system password or passphrase from the user, using a409 question message specified on the command line.</para>460 <para>Used to query a system password or passphrase from the user, 461 using a question message specified on the command line</para> 410 462 <indexterm zone="ch-system-systemd systemd-ask-password"> 411 463 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary> … … 417 469 <term><command>systemd-cat</command></term> 418 470 <listitem> 419 <para> used to connect STDOUT and STDERR of a process with the Journal.471 <para>Used to connect STDOUT and STDERR of a process with the Journal 420 472 </para> 421 473 <indexterm zone="ch-system-systemd systemd-cat"> … … 428 480 <term><command>systemd-cgls</command></term> 429 481 <listitem> 430 <para> recursively shows the contents of the selected Linux control group431 hierarchy in a tree.</para>482 <para>Recursively shows the contents of the selected Linux control 483 group hierarchy in a tree</para> 432 484 <indexterm zone="ch-system-systemd systemd-cgls"> 433 485 <primary sortas="b-systemd-cgls">systemd-cgls</primary> … … 439 491 <term><command>systemd-cgtop</command></term> 440 492 <listitem> 441 <para> shows the top control groups of the local Linux control group hierarchy,442 ordered by their CPU, memory and disk I/O load.</para>493 <para>Shows the top control groups of the local Linux control group 494 hierarchy, ordered by their CPU, memory and disk I/O load</para> 443 495 <indexterm zone="ch-system-systemd systemd-cgtop"> 444 496 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary> … … 447 499 </varlistentry> 448 500 449 <varlistentry id="systemd-coredumpctl">450 <term><command>systemd-coredumpctl</command></term>451 <listitem>452 <para>used to retrieve coredumps from the Systemd Journal</para>453 <indexterm zone="ch-system-systemd systemd-coredumpctl">454 <primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary>455 </indexterm>456 </listitem>457 </varlistentry>458 459 501 <varlistentry id="systemd-delta"> 460 502 <term><command>systemd-delta</command></term> 461 503 <listitem> 462 <para> used to identify and compare configuration files in504 <para>Used to identify and compare configuration files in 463 505 <filename class="directory">/etc</filename> that override default 464 counterparts in <filename class="directory">/usr</filename> .</para>506 counterparts in <filename class="directory">/usr</filename></para> 465 507 <indexterm zone="ch-system-systemd systemd-delta"> 466 508 <primary sortas="b-systemd-delta">systemd-delta</primary> … … 472 514 <term><command>systemd-detect-virt</command></term> 473 515 <listitem> 474 <para> detects execution in a virtualized environment.</para>516 <para>Detects execution in a virtualized environment</para> 475 517 <indexterm zone="ch-system-systemd systemd-detect-virt"> 476 518 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary> … … 479 521 </varlistentry> 480 522 523 <varlistentry id="systemd-escape"> 524 <term><command>systemd-escape</command></term> 525 <listitem> 526 <para>Used to escape strings for inclusion in systemd unit 527 names</para> 528 <indexterm zone="ch-system-systemd systemd-escape"> 529 <primary sortas="b-systemd-escape">systemd-escape</primary> 530 </indexterm> 531 </listitem> 532 </varlistentry> 533 534 <varlistentry id="systemd-hwdb"> 535 <term><command>systemd-hwdb</command></term> 536 <listitem> 537 <para>Used to manage hardware database (hwdb)</para> 538 <indexterm zone="ch-system-systemd systemd-hwdb"> 539 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary> 540 </indexterm> 541 </listitem> 542 </varlistentry> 543 481 544 <varlistentry id="systemd-inhibit"> 482 545 <term><command>systemd-inhibit</command></term> 483 546 <listitem> 484 <para> used to execute a program with a shutdown, sleep or idle inhibitor lock485 taken.</para>547 <para>Used to execute a program with a shutdown, sleep or idle 548 inhibitor lock taken</para> 486 549 <indexterm zone="ch-system-systemd systemd-inhibit"> 487 550 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary> … … 493 556 <term><command>systemd-machine-id-setup</command></term> 494 557 <listitem> 495 <para> used by system installer tools to initialize the machine ID stored in496 <filename>/etc/machine-id</filename> at install time with a randomly497 generated ID.</para>558 <para>Used by system installer tools to initialize the machine ID 559 stored in <filename>/etc/machine-id</filename> at install time with a 560 randomly generated ID</para> 498 561 <indexterm zone="ch-system-systemd systemd-machine-id-setup"> 499 562 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary> … … 505 568 <term><command>systemd-notify</command></term> 506 569 <listitem> 507 <para> used by daemon scripts to notify the init system about status changes.508 </para>570 <para>Used by daemon scripts to notify the init system about status 571 changes</para> 509 572 <indexterm zone="ch-system-systemd systemd-notify"> 510 573 <primary sortas="b-systemd-notify">systemd-notify</primary> … … 516 579 <term><command>systemd-nspawn</command></term> 517 580 <listitem> 518 <para>used to run a command or OS in a light-weight namespace container.</para> 581 <para>Used to run a command or OS in a light-weight namespace 582 container</para> 519 583 <indexterm zone="ch-system-systemd systemd-nspawn"> 520 584 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary> … … 523 587 </varlistentry> 524 588 589 <varlistentry id="systemd-path"> 590 <term><command>systemd-path</command></term> 591 <listitem> 592 <para>Used to query system and user paths</para> 593 <indexterm zone="ch-system-systemd systemd-path"> 594 <primary sortas="b-systemd-path">systemd-path</primary> 595 </indexterm> 596 </listitem> 597 </varlistentry> 598 599 <varlistentry id="systemd-resolve"> 600 <term><command>systemd-resolve</command></term> 601 <listitem> 602 <para>Used to resolve domain names, IPV4 and IPv6 addresses, DNS 603 resource records, and services</para> 604 <indexterm zone="ch-system-systemd systemd-resolve"> 605 <primary sortas="b-systemd-resolve">systemd-resolve</primary> 606 </indexterm> 607 </listitem> 608 </varlistentry> 609 525 610 <varlistentry id="systemd-run"> 526 611 <term><command>systemd-run</command></term> 527 612 <listitem> 528 <para> used to create and start a transient .service or a .scope unit and529 run the specified command in it.</para>613 <para>Used to create and start a transient .service or a .scope unit 614 and run the specified command in it</para> 530 615 <indexterm zone="ch-system-systemd systemd-run"> 531 616 <primary sortas="b-systemd-run">systemd-run</primary> … … 534 619 </varlistentry> 535 620 536 <!--<varlistentry id="systemd-stdio-bridge">621 <!-- <varlistentry id="systemd-stdio-bridge"> 537 622 <term><command>systemd-stdio-bridge</command></term> 538 623 <listitem> … … 547 632 <term><command>systemd-tmpfiles</command></term> 548 633 <listitem> 549 <para>creates, deletes and cleans up volatile and temporary files and directories, 550 based on the configuration file format and location specified in 551 <filename class="directory">tmpfiles.d</filename> directories.</para> 634 <para>Creates, deletes and cleans up volatile and temporary files and 635 directories, based on the configuration file format and location 636 specified in 637 <filename class="directory">tmpfiles.d</filename> directories</para> 552 638 <indexterm zone="ch-system-systemd systemd-tmpfiles"> 553 639 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary> … … 559 645 <term><command>systemd-tty-ask-password-agent</command></term> 560 646 <listitem> 561 <para> used to list or process pending Systemd password requests</para>647 <para>Used to list or process pending systemd password requests</para> 562 648 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent"> 563 649 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary> … … 569 655 <term><command>telinit</command></term> 570 656 <listitem> 571 <para>Tells <command>init</command> which run-level to change to.</para> 657 <para>Tells <command>init</command> which run-level to change 658 to</para> 572 659 <indexterm zone="ch-system-systemd telinit"> 573 660 <primary sortas="b-telinit">telinit</primary> … … 579 666 <term><command>timedatectl</command></term> 580 667 <listitem> 581 <para> used to query and change the system clock and its settings.668 <para>Used to query and change the system clock and its settings 582 669 </para> 583 670 <indexterm zone="ch-system-systemd timedatectl"> … … 593 680 provides info from the Udev database, monitors uevents, waits for 594 681 uevents to finish, tests Udev configuration, and triggers uevents 595 for a given device .</para>682 for a given device</para> 596 683 <indexterm zone="ch-system-systemd udevadm"> 597 684 <primary sortas="b-udevadm">udevadm</primary> … … 603 690 <term><filename class="libraryfile">libsystemd</filename></term> 604 691 <listitem> 605 <para> Systemd utility library.</para>692 <para>systemd utility library</para> 606 693 <indexterm zone="ch-system-systemd libsystemd"> 607 694 <primary sortas="c-libsystemd">libsystemd</primary> … … 613 700 <term><filename class="libraryfile">libudev</filename></term> 614 701 <listitem> 615 <para>A library to access Udev device information .</para>702 <para>A library to access Udev device information</para> 616 703 <indexterm zone="ch-system-systemd libudev"> 617 704 <primary sortas="c-libudev">libudev</primary>
Note:
See TracChangeset
for help on using the changeset viewer.