Changeset 5efe553
- Timestamp:
- 06/29/2014 03:11:34 PM (10 years ago)
- Branches:
- 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 364f16f
- Parents:
- 50acf59
- Location:
- chapter06
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/dbus.xml
r50acf59 r5efe553 89 89 ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> 90 90 91 <para>Create a symlink, so that D-Bus and Systemd can use the same91 <para>Create a symlink, so that D-Bus and systemd can use the same 92 92 <filename>machine-id</filename> file:</para> 93 93 -
chapter06/glibc.xml
r50acf59 r5efe553 182 182 mkdir -pv /var/cache/nscd</userinput></screen> 183 183 184 <para>Install the Systemd support files for <command>nscd</command>:</para>184 <para>Install the systemd support files for <command>nscd</command>:</para> 185 185 186 186 <screen><userinput remap="install">install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.tmpfiles /usr/lib/tmpfiles.d/nscd.conf -
chapter06/systemd.xml
r50acf59 r5efe553 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 <para>First, create a file to allow Systemd to build when using Util-Linux41 <title>Installation of systemd</title> 42 43 <para>First, create a file to allow systemd to build when using Util-Linux 44 44 built in Chapter 5:</para> 45 45 … … 61 61 <screen><userinput remap="pre">patch -Np1 -i ../&systemd-compat-patch;</userinput></screen> 62 62 63 <para>Prepare Systemd for compilation:</para>63 <para>Prepare systemd for compilation:</para> 64 64 65 65 <screen><userinput remap="configure">./configure --prefix=/usr \ … … 102 102 <term><parameter>--enable-split-usr</parameter></term> 103 103 <listitem> 104 <para>This switch ensures that Systemd will work on104 <para>This switch ensures that systemd will work on 105 105 systems where /bin, /lib and /sbin directories are not 106 106 symlinks to their /usr counterparts.</para> … … 119 119 <term><parameter>--with-dbus*</parameter></term> 120 120 <listitem> 121 <para>These switches ensure that D-Bus configurati lfiles121 <para>These switches ensure that D-Bus configuration files 122 122 get installed in the correct locations.</para> 123 123 </listitem> … … 143 143 <para>Note that some tests might fail because the test are being run in a 144 144 chroot environment. For full test coverage, the test suite should be run 145 from a system booted using Systemd.</para>145 from a system booted using systemd.</para> 146 146 147 147 <para>Install the package:</para> … … 158 158 <screen><userinput remap="install">rm -rfv /usr/lib/rpm</userinput></screen> 159 159 160 <para>Create the Sysvinit compatibility symlinks, so Systemd is used160 <para>Create the Sysvinit compatibility symlinks, so systemd is used 161 161 as the default init system:</para> 162 162 … … 178 178 179 179 <sect2 id="contents-systemd" role="content"> 180 <title>Contents of Systemd</title>180 <title>Contents of systemd</title> 181 181 182 182 <segmentedlist> … … 223 223 <term><command>busctl</command></term> 224 224 <listitem> 225 <para> used to introspect and monitor the D-Bus bus.</para>225 <para>Used to introspect and monitor the D-Bus bus.</para> 226 226 <indexterm zone="ch-system-systemd busctl"> 227 227 <primary sortas="b-busctl">busctl</primary> … … 247 247 <term><command>hostnamectl</command></term> 248 248 <listitem> 249 <para> used to query and change the system hostname and related249 <para>Used to query and change the system hostname and related 250 250 settings.</para> 251 251 <indexterm zone="ch-system-systemd hostnamectl"> … … 270 270 <term><command>journalctl</command></term> 271 271 <listitem> 272 <para> used to query the contents of the Systemd Journal.</para>272 <para>Used to query the contents of the systemd Journal.</para> 273 273 <indexterm zone="ch-system-systemd journalctl"> 274 274 <primary sortas="b-journalctl">journalctl</primary> … … 280 280 <term><command>kernel-install</command></term> 281 281 <listitem> 282 <para> used to add and remove kernel and initramfs images to and282 <para>Used to add and remove kernel and initramfs images to and 283 283 from /boot.</para> 284 284 <indexterm zone="ch-system-systemd kernel-install"> … … 291 291 <term><command>localectl</command></term> 292 292 <listitem> 293 <para> used to query and change the system locale and keyboard layout293 <para>Used to query and change the system locale and keyboard layout 294 294 settings.</para> 295 295 <indexterm zone="ch-system-systemd localectl"> … … 302 302 <term><command>loginctl</command></term> 303 303 <listitem> 304 <para> used to introspect and control the state of the Systemd Login304 <para>Used to introspect and control the state of the systemd Login 305 305 Manager.</para> 306 306 <indexterm zone="ch-system-systemd loginctl"> … … 313 313 <term><command>machinectl</command></term> 314 314 <listitem> 315 <para> used to introspect and control the state of the Systemd Virtual315 <para>Used to introspect and control the state of the systemd Virtual 316 316 Machine and Container Registration Manager</para> 317 317 <indexterm zone="ch-system-systemd machinectl"> … … 368 368 <term><command>systemctl</command></term> 369 369 <listitem> 370 <para> used to introspect and control the state of the Systemd system and370 <para>Used to introspect and control the state of the systemd system and 371 371 service manager.</para> 372 372 <indexterm zone="ch-system-systemd systemctl"> … … 379 379 <term><command>systemd-analyze</command></term> 380 380 <listitem> 381 <para> used to determine system boot-up performance of the current boot.381 <para>Used to determine system boot-up performance of the current boot. 382 382 </para> 383 383 <indexterm zone="ch-system-systemd systemd-analyze"> … … 390 390 <term><command>systemd-ask-password</command></term> 391 391 <listitem> 392 <para> used to query a system password or passphrase from the user, using a392 <para>Used to query a system password or passphrase from the user, using a 393 393 question message specified on the command line.</para> 394 394 <indexterm zone="ch-system-systemd systemd-ask-password"> … … 401 401 <term><command>systemd-cat</command></term> 402 402 <listitem> 403 <para> used to connect STDOUT and STDERR of a process with the Journal.403 <para>Used to connect STDOUT and STDERR of a process with the Journal. 404 404 </para> 405 405 <indexterm zone="ch-system-systemd systemd-cat"> … … 412 412 <term><command>systemd-cgls</command></term> 413 413 <listitem> 414 <para> recursively shows the contents of the selected Linux control group414 <para>Recursively shows the contents of the selected Linux control group 415 415 hierarchy in a tree.</para> 416 416 <indexterm zone="ch-system-systemd systemd-cgls"> … … 423 423 <term><command>systemd-cgtop</command></term> 424 424 <listitem> 425 <para> shows the top control groups of the local Linux control group hierarchy,425 <para>Shows the top control groups of the local Linux control group hierarchy, 426 426 ordered by their CPU, memory and disk I/O load.</para> 427 427 <indexterm zone="ch-system-systemd systemd-cgtop"> … … 434 434 <term><command>systemd-coredumpctl</command></term> 435 435 <listitem> 436 <para> used to retrieve coredumps from the Systemd Journal</para>436 <para>Used to retrieve coredumps from the systemd Journal</para> 437 437 <indexterm zone="ch-system-systemd systemd-coredumpctl"> 438 438 <primary sortas="b-systemd-coredumpctl">systemd-coredumpctl</primary> … … 444 444 <term><command>systemd-delta</command></term> 445 445 <listitem> 446 <para> used to identify and compare configuration files in446 <para>Used to identify and compare configuration files in 447 447 <filename class="directory">/etc</filename> that override default 448 448 counterparts in <filename class="directory">/usr</filename>.</para> … … 456 456 <term><command>systemd-detect-virt</command></term> 457 457 <listitem> 458 <para> detects execution in a virtualized environment.</para>458 <para>Detects execution in a virtualized environment.</para> 459 459 <indexterm zone="ch-system-systemd systemd-detect-virt"> 460 460 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary> … … 466 466 <term><command>systemd-inhibit</command></term> 467 467 <listitem> 468 <para> used to execute a program with a shutdown, sleep or idle inhibitor lock468 <para>Used to execute a program with a shutdown, sleep or idle inhibitor lock 469 469 taken.</para> 470 470 <indexterm zone="ch-system-systemd systemd-inhibit"> … … 477 477 <term><command>systemd-machine-id-setup</command></term> 478 478 <listitem> 479 <para> used by system installer tools to initialize the machine ID stored in479 <para>Used by system installer tools to initialize the machine ID stored in 480 480 <filename>/etc/machine-id</filename> at install time with a randomly 481 481 generated ID.</para> … … 489 489 <term><command>systemd-notify</command></term> 490 490 <listitem> 491 <para> used by daemon scripts to notify the init system about status changes.491 <para>Used by daemon scripts to notify the init system about status changes. 492 492 </para> 493 493 <indexterm zone="ch-system-systemd systemd-notify"> … … 500 500 <term><command>systemd-nspawn</command></term> 501 501 <listitem> 502 <para> used to run a command or OS in a light-weight namespace container.</para>502 <para>Used to run a command or OS in a light-weight namespace container.</para> 503 503 <indexterm zone="ch-system-systemd systemd-nspawn"> 504 504 <primary sortas="b-systemd-nspawn">systemd-nspawn</primary> … … 510 510 <term><command>systemd-run</command></term> 511 511 <listitem> 512 <para> used to create and start a transient .service or a .scope unit and512 <para>Used to create and start a transient .service or a .scope unit and 513 513 run the specified command in it.</para> 514 514 <indexterm zone="ch-system-systemd systemd-run"> … … 531 531 <term><command>systemd-tmpfiles</command></term> 532 532 <listitem> 533 <para> creates, deletes and cleans up volatile and temporary files and directories,533 <para>Creates, deletes and cleans up volatile and temporary files and directories, 534 534 based on the configuration file format and location specified in 535 535 <filename class="directory">tmpfiles.d</filename> directories.</para> … … 543 543 <term><command>systemd-tty-ask-password-agent</command></term> 544 544 <listitem> 545 <para> used to list or process pending Systemd password requests</para>545 <para>Used to list or process pending systemd password requests</para> 546 546 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent"> 547 547 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary> … … 563 563 <term><command>timedatectl</command></term> 564 564 <listitem> 565 <para> used to query and change the system clock and its settings.565 <para>Used to query and change the system clock and its settings. 566 566 </para> 567 567 <indexterm zone="ch-system-systemd timedatectl"> … … 587 587 <term><filename class="libraryfile">libsystemd</filename></term> 588 588 <listitem> 589 <para> Systemd utility library.</para>589 <para>systemd utility library.</para> 590 590 <indexterm zone="ch-system-systemd libsystemd"> 591 591 <primary sortas="c-libsystemd">libsystemd</primary>
Note:
See TracChangeset
for help on using the changeset viewer.