Changeset cba2d4e for chapter06/systemd.xml
- Timestamp:
- 04/03/2014 09:52:09 PM (10 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, 7.6, 7.7, 7.8, 7.9, 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:
- 9839808
- Parents:
- 008436e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/systemd.xml
r008436e rcba2d4e 6 6 ]> 7 7 8 <sect1 id="ch-system- udev" role="wrap">9 <?dbhtml filename=" udev.html"?>8 <sect1 id="ch-system-systemd" role="wrap"> 9 <?dbhtml filename="systemd.html"?> 10 10 11 11 <sect1info condition="script"> 12 <productname> udev</productname>12 <productname>systemd</productname> 13 13 <productnumber>&systemd-version;</productnumber> 14 14 <address>&systemd-url;</address> 15 15 </sect1info> 16 16 17 <title> Udev-&systemd-version; (Extracted from systemd-&systemd-version;)</title>18 19 <indexterm zone="ch-system- udev">20 <primary sortas="a- Udev">Udev</primary>17 <title>Systemd-&systemd-version;</title> 18 19 <indexterm zone="ch-system-systemd"> 20 <primary sortas="a-Systemd">Systemd</primary> 21 21 </indexterm> 22 22 … … 24 24 <title/> 25 25 26 <para>The Udev package contains programs for dynamic creation of device 27 nodes. The development of udev has been merged with systemd, but 28 most of systemd is incompatible with LFS. Here we build and install just 29 the needed udev files.</para> 26 <para>The Systemd package contains programs for controlling the startup, 27 running, and shutdown of the system.</para> 30 28 31 29 <segmentedlist> … … 41 39 42 40 <sect2 role="installation"> 43 <title>Installation of Udev</title> 44 45 <note><para>This package is a little different from other packages. The 46 initial package that is extracted is 47 <filename>systemd-&systemd-version;.tar.xz</filename> even though the 48 application we are installing is udev. After changing to the 49 systemd directory, follow the instructions below.</para></note> 50 51 <para>The udev-lfs tarball contains LFS-specific files used to build 52 Udev. Unpack it into the systemd source directory:</para> 53 54 <screen><userinput remap="pre">tar -xvf ../&udev-lfs;.tar.bz2</userinput></screen> 55 56 <para>Create two symbolic links to header files and set an 57 environment variable to properly use <xref linkend="ch-tools-util-linux"/>.</para> 58 59 <screen><userinput remap="pre">ln -svf /tools/include/blkid /usr/include 60 ln -svf /tools/include/uuid /usr/include 61 export LD_LIBRARY_PATH=/tools/lib</userinput></screen> 62 63 <para>Build the package:</para> 64 65 <screen><userinput remap="make">make -f &udev-lfs;/Makefile.lfs</userinput></screen> 41 <title>Installation of Systemd</title> 42 43 <para>First, create a file to allow Systemd to build when using Util-Linux 44 built in Chapter 5:</para> 45 46 <screen><userinput remap="pre">cat > config.cache << "EOF" 47 <literal>KILL=/bin/kill 48 HAVE_BLKID=1 49 BLKID_LIBS="-lblkid" 50 BLKID_CFLAGS="-I/tools/include/blkid"</literal> 51 EOF</userinput></screen> 52 53 <para>Aditionally, fix a build error when using Util-Linux built in 54 Chapter 5:</para> 55 56 <screen><userinput remap="pre">sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")</userinput></screen> 57 58 <para>Apply a patch so that compat <command>pkg-config</command> files get 59 installed without installing compat libs which are useless on LFS:</para> 60 61 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> 62 63 <para>Prepare Systemd for compilation:</para> 64 65 <screen><userinput remap="configure">./configure --prefix=/usr \ 66 --sysconfdir=/etc \ 67 --localstatedir=/var \ 68 --config-cache \ 69 --with-rootprefix= \ 70 --with-rootlibdir=/lib \ 71 --enable-split-usr \ 72 --disable-gudev \ 73 --without-python \ 74 --docdir=/usr/share/doc/systemd-&systemd-version; \ 75 --with-dbuspolicydir=/etc/dbus-1/system.d \ 76 --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \ 77 --with-dbussessionservicedir=/usr/share/dbus-1/services \ 78 --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen> 79 80 <variablelist> 81 <title>The meaning of the configure options:</title> 82 83 <varlistentry> 84 <term><parameter>--config-cache</parameter></term> 85 <listitem> 86 <para>This switch tells the build system to use 87 the <filename>config.cache</filename> file which 88 was created earlier.</para> 89 </listitem> 90 </varlistentry> 91 92 <varlistentry> 93 <term><parameter>--with-root*</parameter></term> 94 <listitem> 95 <para>These switches ensure that core programs and 96 shared libraries are installed in the subdirectories 97 of the root partition.</para> 98 </listitem> 99 </varlistentry> 100 101 <varlistentry> 102 <term><parameter>--enable-split-usr</parameter></term> 103 <listitem> 104 <para>This switch ensures that Systemd will work on 105 systems where /bin, /lib and /sbin directories are not 106 symlinks to their /usr counterparts.</para> 107 </listitem> 108 </varlistentry> 109 110 <varlistentry> 111 <term><parameter>--disable-gudev --without-python</parameter></term> 112 <listitem> 113 <para>These switches disable optional features because 114 LFS does not provide their dependencies.</para> 115 </listitem> 116 </varlistentry> 117 118 <varlistentry> 119 <term><parameter>--with-dbus*</parameter></term> 120 <listitem> 121 <para>These switches ensure that D-Bus configuratil files 122 get installed in the correct locations.</para> 123 </listitem> 124 </varlistentry> 125 126 </variablelist> 127 128 <para>Compile the package:</para> 129 130 <screen><userinput remap="make">make LIBRARY_PATH=/tools/lib</userinput></screen> 131 132 <para>First prevent few broken test cases from running:</para> 133 134 <screen><userinput remap="test">sed -e "s:test/udev-test.pl::g" \ 135 -e "s:test-bus-cleanup\$(EXEEXT) ::g" \ 136 -e "s:test-bus-gvariant\$(EXEEXT) ::g" \ 137 -i Makefile</userinput></screen> 138 139 <para>To test the results, issue:</para> 140 141 <screen><userinput remap="test">make -k check</userinput></screen> 142 143 <para>Note that some tests might fail because the test are being run in a 144 chroot environment. For full test coverage, the test suite should be run 145 from a system booted using Systemd.</para> 66 146 67 147 <para>Install the package:</para> 68 148 69 <screen><userinput remap="install">make -f &udev-lfs;/Makefile.lfs install</userinput></screen> 70 71 <caution><para>There are several places within the 72 <application>systemd</application> source code that have explicit directory 73 paths embedded. For instance, the binary version of the hardware 74 database's path and file name used at run time, 75 <filename>/etc/udev/hwdb.bin</filename>, cannot be changed without explicit 76 changes to the source code.</para></caution> 77 78 <para>Now initialize the hardware database:</para> 79 80 <screen><userinput remap="install">build/udevadm hwdb --update</userinput></screen> 81 82 <para>Finally set up the persistent network udev rules. This task will be 83 explained in detail in <xref linkend='stable-net-names'/>. Note that the 84 <filename class='directory'>/sys</filename> and <filename 85 class='directory'>/proc</filename> filesystems must be mounted in the 86 chroot environment as explained at the beginning of this chapter for the 87 following script to work.</para> 88 89 <screen><userinput remap="install">bash &udev-lfs;/init-net-rules.sh</userinput></screen> 90 91 <para>Do some cleanup:</para> 92 93 <screen><userinput remap="install">rm -fv /usr/include/{uuid,blkid} 94 unset LD_LIBRARY_PATH</userinput></screen> 149 <screen><userinput remap="install">make LD_LIBRARY_PATH=/tools/lib install</userinput></screen> 150 151 <para>Move NSS myhostname library to <filename 152 class="directory">/lib</filename>:</para> 153 154 <screen><userinput remap="install">mv -v /usr/lib/libnss_myhostname.so.2 /lib</userinput></screen> 155 156 <para>Remove an unnecessary directory:</para> 157 158 <screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen> 159 160 <para>Create the Sysvinit compatibility symlinks, and move some man pages 161 and a library that conflict with <xref linkend="ch-system-sysvinit"/> so 162 both systems can be installed side-by-side:</para> 163 164 <screen><userinput remap="install">for tool in runlevel reboot shutdown poweroff halt telinit; do 165 ln -sfv ../bin/systemctl /sbin/${tool}-systemd 166 mv -v /usr/share/man/man8/${tool}.8 /usr/share/man/man8/${tool}-systemd.8 167 done 168 169 ln -sfv ../lib/systemd/systemd /sbin/init-systemd 170 mv -v /etc/init.d /etc/init.d-systemd</userinput></screen> 171 172 <para>Remove a reference to a non-existent group:</para> 173 174 <screen><userinput remap="install">sed -i "s:0775 root lock:0755 root root:g" /usr/lib/tmpfiles.d/legacy.conf</userinput></screen> 175 176 <para>Create the <filename>/etc/machine-id</filename> file needed by 177 Journald:</para> 178 179 <screen><userinput remap="install">systemd-machine-id-setup</userinput></screen> 180 181 <para>Finally install some LFS specific udev rules:</para> 182 183 <screen><userinput remap="install">tar -xf ../&udev-lfs-version;.tar.bz2 184 make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen> 95 185 96 186 </sect2> 97 187 98 <sect2 id="contents- udev" role="content">99 <title>Contents of Udev</title>188 <sect2 id="contents-systemd" role="content"> 189 <title>Contents of Systemd</title> 100 190 101 191 <segmentedlist> … … 105 195 106 196 <seglistitem> 107 <seg>accelerometer, ata_id, cdrom_id, collect, mtd_probe, 108 scsi_id, v4l_id, udevadm, and udevd</seg> 109 110 <seg>libudev.so</seg> 111 112 <seg>/etc/udev, /lib/udev, /lib/firmware, /usr/share/doc/udev</seg> 197 <seg>bootctl, busctl, halt, hostnamectl, init, journalctl, kernel-install, 198 localectl, loginctl, machinectl, poweroff, reboot, runlevel, shutdown, 199 systemctl, systemd-analyze, systemd-ask-password, systemd-cat, systemd-cgls, 200 systemd-cgtop, systemd-coredumpctl, systemd-delta, systemd-detect-virt, 201 systemd-inhibit, systemd-machine-id-setup, systemd-notify, systemd-nspawn, 202 systemd-run, systemd-stdio-bridge, systemd-tmpfiles, systemd-tty-ask-password-agent, 203 telinit, timedatectl, and udevadm</seg> 204 205 <seg>libnss_myhostname.so.2, libsystemd.so, libudev.so</seg> 206 <seg>/etc/binfmt.d, /etc/init.d, /etc/kernel, /etc/modules-load.d, 207 /etc/sysctl.d, /etc/systemd, /etc/tmpfiles.d, /etc/udev, 208 /etc/xdg/systemd, /lib/systemd, /lib/udev, /usr/include/systemd, 209 /usr/lib/binfmt.d, /usr/lib/kernel, /usr/lib/modules-load.d, 210 /usr/lib/sysctl.d, /usr/lib/systemd, /usr/lib/tmpfiles.d, 211 /usr/share/doc/systemd-&systemd-version;, /usr/share/systemd, 212 /var/lib/systemd, /var/log/journal</seg> 113 213 </seglistitem> 114 214 </segmentedlist> … … 119 219 <?dbhtml list-presentation="table"?> 120 220 121 <varlistentry id="ata_id"> 122 <term><command>ata_id</command></term> 123 <listitem> 124 <para>Provides Udev with a unique string and 125 additional information (uuid, label) for an ATA drive</para> 126 <indexterm zone="ch-system-udev ata_id"> 127 <primary sortas="b-ata_id">ata_id</primary> 128 </indexterm> 129 </listitem> 130 </varlistentry> 131 132 <varlistentry id="cdrom_id"> 133 <term><command>cdrom_id</command></term> 134 <listitem> 135 <para>Provides Udev with the capabilities of a 136 CD-ROM or DVD-ROM drive</para> 137 <indexterm zone="ch-system-udev cdrom_id"> 138 <primary sortas="b-cdrom_id">cdrom_id</primary> 139 </indexterm> 140 </listitem> 141 </varlistentry> 142 143 <varlistentry id="collect"> 144 <term><command>collect</command></term> 145 <listitem> 146 <para>Given an ID for the current uevent and a list of 147 IDs (for all target uevents), registers the current ID 148 and indicates whether all target IDs have been registered</para> 149 <indexterm zone="ch-system-udev collect"> 150 <primary sortas="b-collect">collect</primary> 151 </indexterm> 152 </listitem> 153 </varlistentry> 154 155 <varlistentry id="scsi_id"> 156 <term><command>scsi_id</command></term> 157 <listitem> 158 <para>Provides Udev with a unique SCSI identifier 159 based on the data returned from sending a SCSI INQUIRY command to 160 the specified device</para> 161 <indexterm zone="ch-system-udev scsi_id"> 162 <primary sortas="b-scsi_id">scsi_id</primary> 221 <varlistentry id="bootctl"> 222 <term><command>bootctl</command></term> 223 <listitem> 224 <para>used to query the firmware and boot manager settings.</para> 225 <indexterm zone="ch-system-systemd bootctl"> 226 <primary sortas="b-bootctl">bootctl</primary> 227 </indexterm> 228 </listitem> 229 </varlistentry> 230 231 <varlistentry id="busctl"> 232 <term><command>busctl</command></term> 233 <listitem> 234 <para>used to introspect and monitor the D-Bus bus.</para> 235 <indexterm zone="ch-system-systemd busctl"> 236 <primary sortas="b-busctl">busctl</primary> 237 </indexterm> 238 </listitem> 239 </varlistentry> 240 241 <varlistentry id="halt"> 242 <term><command>halt</command></term> 243 <listitem> 244 <para>Normally invokes <command>shutdown</command> with the 245 <parameter>-h</parameter> option, except when already in run-level 0, 246 then it tells the kernel to halt the system; it notes in the 247 file <filename>/var/log/wtmp</filename> that the system is being 248 brought down.</para> 249 <indexterm zone="ch-system-systemd halt"> 250 <primary sortas="b-halt">halt</primary> 251 </indexterm> 252 </listitem> 253 </varlistentry> 254 255 <varlistentry id="hostnamectl"> 256 <term><command>hostnamectl</command></term> 257 <listitem> 258 <para>used to query and change the system hostname and related 259 settings.</para> 260 <indexterm zone="ch-system-systemd hostnamectl"> 261 <primary sortas="b-hostnamectl">hostnamectl</primary> 262 </indexterm> 263 </listitem> 264 </varlistentry> 265 266 <varlistentry id="init"> 267 <term><command>init</command></term> 268 <listitem> 269 <para>The first process to be started when the kernel has initialized 270 the hardware which takes over the boot process and starts all the 271 proceses it is instructed to.</para> 272 <indexterm zone="ch-system-systemd init"> 273 <primary sortas="b-init">init</primary> 274 </indexterm> 275 </listitem> 276 </varlistentry> 277 278 <varlistentry id="journalctl"> 279 <term><command>journalctl</command></term> 280 <listitem> 281 <para>used to query the contents of the Systemd Journal.</para> 282 <indexterm zone="ch-system-systemd journalctl"> 283 <primary sortas="b-journalctl">journalctl</primary> 284 </indexterm> 285 </listitem> 286 </varlistentry> 287 288 <varlistentry id="kernel-install"> 289 <term><command>kernel-install</command></term> 290 <listitem> 291 <para>used to add and remove kernel and initramfs images to and 292 from /boot.</para> 293 <indexterm zone="ch-system-systemd kernel-install"> 294 <primary sortas="b-kernel-install">kernel-install</primary> 295 </indexterm> 296 </listitem> 297 </varlistentry> 298 299 <varlistentry id="localectl"> 300 <term><command>localectl</command></term> 301 <listitem> 302 <para>used to query and change the system locale and keyboard layout 303 settings.</para> 304 <indexterm zone="ch-system-systemd localectl"> 305 <primary sortas="b-localectl">localectl</primary> 306 </indexterm> 307 </listitem> 308 </varlistentry> 309 310 <varlistentry id="loginctl"> 311 <term><command>loginctl</command></term> 312 <listitem> 313 <para>used to introspect and control the state of the Systemd Login 314 Manager.</para> 315 <indexterm zone="ch-system-systemd loginctl"> 316 <primary sortas="b-loginctl">loginctl</primary> 317 </indexterm> 318 </listitem> 319 </varlistentry> 320 321 <varlistentry id="machinectl"> 322 <term><command>machinectl</command></term> 323 <listitem> 324 <para>used to introspect and control the state of the Systemd Virtual 325 Machine and Container Registration Manager</para> 326 <indexterm zone="ch-system-systemd machinectl"> 327 <primary sortas="b-machinectl">machinectl</primary> 328 </indexterm> 329 </listitem> 330 </varlistentry> 331 332 <varlistentry id="poweroff"> 333 <term><command>poweroff</command></term> 334 <listitem> 335 <para>Tells the kernel to halt the system and switch off the computer 336 (see <command>halt</command>).</para> 337 <indexterm zone="ch-system-systemd poweroff"> 338 <primary sortas="b-poweroff">poweroff</primary> 339 </indexterm> 340 </listitem> 341 </varlistentry> 342 343 <varlistentry id="reboot"> 344 <term><command>reboot</command></term> 345 <listitem> 346 <para>Tells the kernel to reboot the system (see 347 <command>halt</command>).</para> 348 <indexterm zone="ch-system-systemd reboot"> 349 <primary sortas="b-reboot">reboot</primary> 350 </indexterm> 351 </listitem> 352 </varlistentry> 353 354 <varlistentry id="runlevel"> 355 <term><command>runlevel</command></term> 356 <listitem> 357 <para>Reports the previous and the current run-level, as noted in the 358 last run-level record in <filename>/var/run/utmp</filename>.</para> 359 <indexterm zone="ch-system-systemd runlevel"> 360 <primary sortas="b-runlevel">runlevel</primary> 361 </indexterm> 362 </listitem> 363 </varlistentry> 364 365 <varlistentry id="shutdown"> 366 <term><command>shutdown</command></term> 367 <listitem> 368 <para>Brings the system down in a secure way, signaling all processes 369 and notifying all logged-in users.</para> 370 <indexterm zone="ch-system-systemd shutdown"> 371 <primary sortas="b-shutdown">shutdown</primary> 372 </indexterm> 373 </listitem> 374 </varlistentry> 375 376 <varlistentry id="systemctl"> 377 <term><command>systemctl</command></term> 378 <listitem> 379 <para>used to introspect and control the state of the Systemd system and 380 service manager.</para> 381 <indexterm zone="ch-system-systemd systemctl"> 382 <primary sortas="b-systemctl">systemctl</primary> 383 </indexterm> 384 </listitem> 385 </varlistentry> 386 387 <varlistentry id="systemd-analyze"> 388 <term><command>systemd-analyze</command></term> 389 <listitem> 390 <para>used to determine system boot-up performance of the current boot. 391 </para> 392 <indexterm zone="ch-system-systemd systemd-analyze"> 393 <primary sortas="b-systemd-analyze">systemd-analyze</primary> 394 </indexterm> 395 </listitem> 396 </varlistentry> 397 398 <varlistentry id="systemd-ask-password"> 399 <term><command>systemd-ask-password</command></term> 400 <listitem> 401 <para>used to query a system password or passphrase from the user, using a 402 question message specified on the command line.</para> 403 <indexterm zone="ch-system-systemd systemd-ask-password"> 404 <primary sortas="b-systemd-ask-password">systemd-ask-password</primary> 405 </indexterm> 406 </listitem> 407 </varlistentry> 408 409 <varlistentry id="systemd-cat"> 410 <term><command>systemd-cat</command></term> 411 <listitem> 412 <para>used to connect STDOUT and STDERR of a process with the Journal. 413 </para> 414 <indexterm zone="ch-system-systemd systemd-cat"> 415 <primary sortas="b-systemd-cat">systemd-cat</primary> 416 </indexterm> 417 </listitem> 418 </varlistentry> 419 420 <varlistentry id="systemd-cgls"> 421 <term><command>systemd-cgls</command></term> 422 <listitem> 423 <para>recursively shows the contents of the selected Linux control group 424 hierarchy in a tree.</para> 425 <indexterm zone="ch-system-systemd systemd-cgls"> 426 <primary sortas="b-systemd-cgls">systemd-cgls</primary> 427 </indexterm> 428 </listitem> 429 </varlistentry> 430 431 <varlistentry id="systemd-cgtop"> 432 <term><command>systemd-cgtop</command></term> 433 <listitem> 434 <para>shows the top control groups of the local Linux control group hierarchy, 435 ordered by their CPU, memory and disk I/O load.</para> 436 <indexterm zone="ch-system-systemd systemd-cgtop"> 437 <primary sortas="b-systemd-cgtop">systemd-cgtop</primary> 438 </indexterm> 439 </listitem> 440 </varlistentry> 441 442 <varlistentry id="systemd-coredumpctl"> 443 <term><command>systemd-coredumpctl</command></term> 444 <listitem> 445 <para>used to retrieve coredumps from the Systemd Journal</para> 446 <indexterm zone="ch-system-systemd systemd-coredumpctl"> 447 <primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary> 448 </indexterm> 449 </listitem> 450 </varlistentry> 451 452 <varlistentry id="systemd-delta"> 453 <term><command>systemd-delta</command></term> 454 <listitem> 455 <para>used to identify and compare configuration files in 456 <filename class="directory">/etc</filename> that override default 457 counterparts in <filename class="directory">/usr</filename>.</para> 458 <indexterm zone="ch-system-systemd systemd-delta"> 459 <primary sortas="b-systemd-delta">systemd-delta</primary> 460 </indexterm> 461 </listitem> 462 </varlistentry> 463 464 <varlistentry id="systemd-detect-virt"> 465 <term><command>systemd-detect-virt</command></term> 466 <listitem> 467 <para>detects execution in a virtualized environment.</para> 468 <indexterm zone="ch-system-systemd systemd-detect-virt"> 469 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary> 470 </indexterm> 471 </listitem> 472 </varlistentry> 473 474 <varlistentry id="systemd-inhibit"> 475 <term><command>systemd-inhibit</command></term> 476 <listitem> 477 <para>used to execute a program with a shutdown, sleep or idle inhibitor lock 478 taken.</para> 479 <indexterm zone="ch-system-systemd systemd-inhibit"> 480 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary> 481 </indexterm> 482 </listitem> 483 </varlistentry> 484 485 <varlistentry id="systemd-machine-id-setup"> 486 <term><command>systemd-machine-id-setup</command></term> 487 <listitem> 488 <para>used by system installer tools to initialize the machine ID stored in 489 <filename>/etc/machine-id</filename> at install time with a randomly 490 generated ID.</para> 491 <indexterm zone="ch-system-systemd systemd-machine-id-setup"> 492 <primary sortas="b-systemd-machine-id-setup">systemd-machine-id-setup</primary> 493 </indexterm> 494 </listitem> 495 </varlistentry> 496 497 <varlistentry id="systemd-notify"> 498 <term><command>systemd-notify</command></term> 499 <listitem> 500 <para>used by daemon scripts to notify the init system about status changes. 501 </para> 502 <indexterm zone="ch-system-systemd systemd-notify"> 503 <primary sortas="b-systemd-notify">systemd-notify</primary> 504 </indexterm> 505 </listitem> 506 </varlistentry> 507 508 <varlistentry id="systemd-nspawn"> 509 <term><command>systemd-nspawn</command></term> 510 <listitem> 511 <para>used to run a command or OS in a light-weight namespace container.</para> 512 <indexterm zone="ch-system-systemd systemd-nspawn"> 513 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary> 514 </indexterm> 515 </listitem> 516 </varlistentry> 517 518 <varlistentry id="systemd-run"> 519 <term><command>systemd-run</command></term> 520 <listitem> 521 <para>used to create and start a transient .service or a .scope unit and 522 run the specified command in it.</para> 523 <indexterm zone="ch-system-systemd systemd-run"> 524 <primary sortas="b-systemd-run">systemd-run</primary> 525 </indexterm> 526 </listitem> 527 </varlistentry> 528 529 <!-- <varlistentry id="systemd-stdio-bridge"> 530 <term><command>systemd-stdio-bridge</command></term> 531 <listitem> 532 <para>To be completed</para> 533 <indexterm zone="ch-system-systemd systemd-stdio-bridge"> 534 <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary> 535 </indexterm> 536 </listitem> 537 </varlistentry> --> 538 539 <varlistentry id="systemd-tmpfiles"> 540 <term><command>systemd-tmpfiles</command></term> 541 <listitem> 542 <para>creates, deletes and cleans up volatile and temporary files and directories, 543 based on the configuration file format and location specified in 544 <filename class="directory">tmpfiles.d</filename> directories.</para> 545 <indexterm zone="ch-system-systemd systemd-tmpfiles"> 546 <primary sortas="b-systemd-tmpfiles">systemd-tmpfiles</primary> 547 </indexterm> 548 </listitem> 549 </varlistentry> 550 551 <varlistentry id="systemd-tty-ask-password-agent"> 552 <term><command>systemd-tty-ask-password-agent</command></term> 553 <listitem> 554 <para>used to list or process pending Systemd password requests</para> 555 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent"> 556 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary> 557 </indexterm> 558 </listitem> 559 </varlistentry> 560 561 <varlistentry id="telinit"> 562 <term><command>telinit</command></term> 563 <listitem> 564 <para>Tells <command>init</command> which run-level to change to.</para> 565 <indexterm zone="ch-system-systemd telinit"> 566 <primary sortas="b-telinit">telinit</primary> 567 </indexterm> 568 </listitem> 569 </varlistentry> 570 571 <varlistentry id="timedatectl"> 572 <term><command>timedatectl</command></term> 573 <listitem> 574 <para>used to query and change the system clock and its settings. 575 </para> 576 <indexterm zone="ch-system-systemd timedatectl"> 577 <primary sortas="b-timedatectl">timedatectl</primary> 163 578 </indexterm> 164 579 </listitem> … … 168 583 <term><command>udevadm</command></term> 169 584 <listitem> 170 <para>Generic udev administration tool: controls the udevd daemon,585 <para>Generic Udev administration tool: controls the udevd daemon, 171 586 provides info from the Udev database, monitors uevents, waits for 172 587 uevents to finish, tests Udev configuration, and triggers uevents 173 for a given device </para>174 <indexterm zone="ch-system- udevudevadm">588 for a given device.</para> 589 <indexterm zone="ch-system-systemd udevadm"> 175 590 <primary sortas="b-udevadm">udevadm</primary> 176 591 </indexterm> … … 178 593 </varlistentry> 179 594 180 <varlistentry id="udevd"> 181 <term><command>udevd</command></term> 182 <listitem> 183 <para>A daemon that listens for uevents on the netlink socket, 184 creates devices and runs the configured external programs in 185 response to these uevents</para> 186 <indexterm zone="ch-system-udev udevd"> 187 <primary sortas="b-udevd">udevd</primary> 595 <varlistentry id="libsystemd"> 596 <term><filename class="libraryfile">libsystemd</filename></term> 597 <listitem> 598 <para>Systemd utility library.</para> 599 <indexterm zone="ch-system-systemd libsystemd"> 600 <primary sortas="c-libsystemd">libsystemd</primary> 188 601 </indexterm> 189 602 </listitem> … … 193 606 <term><filename class="libraryfile">libudev</filename></term> 194 607 <listitem> 195 <para>A library interface to udev device information</para>196 <indexterm zone="ch-system- udevlibudev">608 <para>A library to access Udev device information.</para> 609 <indexterm zone="ch-system-systemd libudev"> 197 610 <primary sortas="c-libudev">libudev</primary> 198 611 </indexterm> … … 200 613 </varlistentry> 201 614 202 <varlistentry id="etc-udev">203 <term><filename class="directory">/etc/udev</filename></term>204 <listitem>205 <para>Contains Udev configuration files,206 device permissions, and rules for device naming</para>207 <indexterm zone="ch-system-udev etc-udev">208 <primary sortas="e-/etc/udev">/etc/udev</primary>209 </indexterm>210 </listitem>211 </varlistentry>212 213 615 </variablelist> 214 616
Note:
See TracChangeset
for help on using the changeset viewer.