- Timestamp:
- 06/12/2020 09:04:48 PM (4 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, 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:
- 4234aea6
- Parents:
- a3d0817
- Location:
- chapter08
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/dbus.xml
ra3d0817 r9e7475a 64 64 <term><parameter>--with-console-auth-dir=/run/console</parameter></term> 65 65 <listitem> 66 <para>This specifies the location of the ConsoleKit auth 66 <para>This specifies the location of the ConsoleKit authorization 67 67 directory.</para> 68 68 </listitem> … … 92 92 ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so</userinput></screen> 93 93 94 <para>Create a symlink ,so that D-Bus and systemd can use the same94 <para>Create a symlink so that D-Bus and systemd can use the same 95 95 <filename>machine-id</filename> file:</para> 96 96 … … 131 131 <term><command>dbus-cleanup-sockets</command></term> 132 132 <listitem> 133 <para> Used to clean upleftover sockets in a directory</para>133 <para>is used to remove leftover sockets in a directory</para> 134 134 <indexterm zone="ch-system-dbus dbus-cleanup-sockets"> 135 135 <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary> … … 141 141 <term><command>dbus-daemon</command></term> 142 142 <listitem> 143 <para> The D-Bus message bus daemon</para>143 <para>Is the D-Bus message bus daemon</para> 144 144 <indexterm zone="ch-system-dbus dbus-daemon"> 145 145 <primary sortas="b-dbus-daemon">dbus-daemon</primary> … … 194 194 <term><command>dbus-test-tool</command></term> 195 195 <listitem> 196 <para> Atool to help packages test196 <para>Is a tool to help packages test 197 197 <application>D-Bus</application></para> 198 198 <indexterm zone="ch-system-dbus dbus-test-tool"> -
chapter08/systemd.xml
ra3d0817 r9e7475a 45 45 <screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-1.patch</userinput></screen> 46 46 47 48 <para>Create a symlink to work around missing xsltproc:</para> 47 <para>Create a symlink to work around the xsltproc command not being installed:</para> 49 48 50 49 <screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen> … … 97 96 <title>The meaning of the meson options:</title> 98 97 99 <!--100 <varlistentry>101 <term><parameter>-Dc_args=-Wno-format-overflow</parameter></term>102 <listitem>103 <para>The defaults flags passed to gcc contain104 <parameter>-Werror=format-overflow</parameter>, which generates105 an error with GCC 10. Passing this parameter prevents the error106 from occuring.</para>107 </listitem>108 </varlistentry>109 -->110 111 98 <varlistentry> 112 99 <term><parameter>-D*-path=*</parameter></term> 113 100 <listitem> 114 <para>These switches provide location of binaries needed by101 <para>These switches provide the location of binaries needed by 115 102 systemd at runtime that have not yet been installed.</para> 116 103 </listitem> … … 155 142 <listitem> 156 143 <para>These switches ensure that core programs and 157 shared libraries are installed in thesubdirectories144 shared libraries are installed in subdirectories 158 145 of the root partition.</para> 159 146 </listitem> … … 201 188 202 189 <screen><userinput remap="make">LANG=en_US.UTF-8 ninja</userinput></screen> 203 <!-- 204 <para>To test the package, execute the following command:</para> 205 206 <screen><userinput remap="test">LANG=en_US.UTF-8 ninja test</userinput></screen> 207 --> 190 208 191 <para>Install the package:</para> 209 192 … … 233 216 some problems with packages and units in BLFS:</para> 234 217 235 236 218 <screen><userinput remap="adjust">rm -f /usr/lib/sysctl.d/50-pid-max.conf</userinput></screen> 237 219 238 <!--239 <para>Prevent systemd from creating <filename>/run/nologin</filename>240 to allow unprivileged user logins without241 <application>systemd-logind</application>:</para>242 243 <screen><userinput remap="adjust">rm -f /usr/lib/tmpfiles.d/systemd-nologin.conf</userinput></screen>244 -->245 220 </sect2> 246 221 … … 291 266 <term><command>bootctl</command></term> 292 267 <listitem> 293 <para> Used to query the firmware and boot manager settings</para>268 <para>Is used to query the firmware and boot manager settings</para> 294 269 <indexterm zone="ch-system-systemd bootctl"> 295 270 <primary sortas="b-bootctl">bootctl</primary> … … 301 276 <term><command>busctl</command></term> 302 277 <listitem> 303 <para> Used to introspect and monitor the D-Bus bus</para>278 <para>Is used to introspect and monitor the D-Bus bus</para> 304 279 <indexterm zone="ch-system-systemd busctl"> 305 280 <primary sortas="b-busctl">busctl</primary> … … 311 286 <term><command>coredumpctl</command></term> 312 287 <listitem> 313 <para> Used to retrieve coredumps from the systemd journal</para>288 <para>Is used to retrieve coredumps from the systemd journal</para> 314 289 <indexterm zone="ch-system-systemd coredumpctl"> 315 290 <primary sortas="b-coredumpctl">coredumpctl</primary> … … 335 310 <term><command>hostnamectl</command></term> 336 311 <listitem> 337 <para> Used to query and change the system hostname and related312 <para>Is used to query and change the system hostname and related 338 313 settings</para> 339 314 <indexterm zone="ch-system-systemd hostnamectl"> … … 346 321 <term><command>init</command></term> 347 322 <listitem> 348 <para> The first process to be started when the kernel has initialized323 <para>Is the first process to be started when the kernel has initialized 349 324 the hardware which takes over the boot process and starts all 350 processes according to its configuration files</para> 325 processes according to its configuration files. In this case, it starts 326 systemd.</para> 351 327 <indexterm zone="ch-system-systemd init"> 352 328 <primary sortas="b-init">init</primary> … … 358 334 <term><command>journalctl</command></term> 359 335 <listitem> 360 <para> Used to query the contents of the systemd journal</para>336 <para>Is used to query the contents of the systemd journal</para> 361 337 <indexterm zone="ch-system-systemd journalctl"> 362 338 <primary sortas="b-journalctl">journalctl</primary> … … 368 344 <term><command>kernel-install</command></term> 369 345 <listitem> 370 <para> Used to add and remove kernel and initramfs images to and371 from /boot </para>346 <para>Is used to add and remove kernel and initramfs images to and 347 from /boot. In LFS, this is done manually.</para> 372 348 <indexterm zone="ch-system-systemd kernel-install"> 373 349 <primary sortas="b-kernel-install">kernel-install</primary> … … 379 355 <term><command>localectl</command></term> 380 356 <listitem> 381 <para> Used to query and change the system locale and keyboard layout357 <para>Is used to query and change the system locale and keyboard layout 382 358 settings</para> 383 359 <indexterm zone="ch-system-systemd localectl"> … … 390 366 <term><command>loginctl</command></term> 391 367 <listitem> 392 <para> Used to introspect and control the state of the systemd Login368 <para>Is used to introspect and control the state of the systemd Login 393 369 Manager</para> 394 370 <indexterm zone="ch-system-systemd loginctl"> … … 401 377 <term><command>machinectl</command></term> 402 378 <listitem> 403 <para> Used to introspect and control the state of the systemd Virtual379 <para>Is used to introspect and control the state of the systemd Virtual 404 380 Machine and Container Registration Manager</para> 405 381 <indexterm zone="ch-system-systemd machinectl"> … … 412 388 <term><command>networkctl</command></term> 413 389 <listitem> 414 <para> Used to introspect the state of the network links as seen by415 systemd-networkd</para>390 <para>Is used to introspect and configure the state of the network 391 links configured by systemd-networkd</para> 416 392 <indexterm zone="ch-system-systemd networkctl"> 417 393 <primary sortas="b-networkctl">networkctl</primary> … … 423 399 <term><command>portablectl</command></term> 424 400 <listitem> 425 <para> Used to attach or detach portable services from the local401 <para>Is used to attach or detach portable services from the local 426 402 system</para> 427 403 <indexterm zone="ch-system-systemd portablectl"> … … 434 410 <term><command>poweroff</command></term> 435 411 <listitem> 436 <para> Tells the kernel to halt the system and switch off the computer412 <para>Instructs the kernel to halt the system and switch off the computer 437 413 (see <command>halt</command>)</para> 438 414 <indexterm zone="ch-system-systemd poweroff"> … … 445 421 <term><command>reboot</command></term> 446 422 <listitem> 447 <para> Tells the kernel to reboot the system (see423 <para>Instructs the kernel to reboot the system (see 448 424 <command>halt</command>)</para> 449 425 <indexterm zone="ch-system-systemd reboot"> … … 456 432 <term><command>resolvconf</command></term> 457 433 <listitem> 458 <para>Register DNS server and domain configuration with434 <para>Registers DNS server and domain configuration with 459 435 <command>systemd-resolved</command></para> 460 436 <indexterm zone="ch-system-systemd resolvconf"> … … 467 443 <term><command>resolvectl</command></term> 468 444 <listitem> 469 <para>Send control commands to the network name resolution470 manager, or resolve domain names, IPv4 and IPv6 addresses,445 <para>Sends control commands to the network name resolution 446 manager, or resolves domain names, IPv4 and IPv6 addresses, 471 447 DNS records, and services.</para> 472 448 <indexterm zone="ch-system-systemd resolvectl"> … … 479 455 <term><command>runlevel</command></term> 480 456 <listitem> 481 <para> Reports the previous and the current run-level, as noted in the457 <para>Outputs the previous and the current run-level, as noted in the 482 458 last run-level record in <filename>/var/run/utmp</filename></para> 483 459 <indexterm zone="ch-system-systemd runlevel"> … … 490 466 <term><command>shutdown</command></term> 491 467 <listitem> 492 <para>Brings the system down in a s ecure way, signaling all processes493 a nd notifying all logged-in users</para>468 <para>Brings the system down in a safe and secure manner, signaling 469 all processes and notifying all logged-in users</para> 494 470 <indexterm zone="ch-system-systemd shutdown"> 495 471 <primary sortas="b-shutdown">shutdown</primary> … … 501 477 <term><command>systemctl</command></term> 502 478 <listitem> 503 <para> Used to introspect and control the state of the systemd system479 <para>Is used to introspect and control the state of the systemd system 504 480 and service manager</para> 505 481 <indexterm zone="ch-system-systemd systemctl"> … … 512 488 <term><command>systemd-analyze</command></term> 513 489 <listitem> 514 <para> Used to determine system boot-up performance of the current515 boot </para>490 <para>Is used to determine system startup performance of the current 491 boot, as well as identify troublesome systemd units</para> 516 492 <indexterm zone="ch-system-systemd systemd-analyze"> 517 493 <primary sortas="b-systemd-analyze">systemd-analyze</primary> … … 523 499 <term><command>systemd-ask-password</command></term> 524 500 <listitem> 525 <para> Used to query a system password or passphrase from the user,501 <para>Is used to query a system password or passphrase from the user, 526 502 using a question message specified on the command line</para> 527 503 <indexterm zone="ch-system-systemd systemd-ask-password"> … … 534 510 <term><command>systemd-cat</command></term> 535 511 <listitem> 536 <para>Used to connect STDOUT and STDERR of a process with the Journal 512 <para>Is used to connect the STDOUT and STDERR outputs of a process 513 with the systemd journal. 537 514 </para> 538 515 <indexterm zone="ch-system-systemd systemd-cat"> … … 567 544 <term><command>systemd-delta</command></term> 568 545 <listitem> 569 <para> Used to identify and compare configuration files in546 <para>Is used to identify and compare configuration files in 570 547 <filename class="directory">/etc</filename> that override default 571 548 counterparts in <filename class="directory">/usr</filename></para> … … 579 556 <term><command>systemd-detect-virt</command></term> 580 557 <listitem> 581 <para>Detects execution in a virtualized environment</para> 558 <para>Detects whether the system is being run in a virtual 559 environment, and adjusts udev accordingly.</para> 582 560 <indexterm zone="ch-system-systemd systemd-detect-virt"> 583 561 <primary sortas="b-systemd-detect-virt">systemd-detect-virt</primary> … … 589 567 <term><command>systemd-escape</command></term> 590 568 <listitem> 591 <para> Used to escape strings for inclusion in systemd unit569 <para>Is used to escape strings for inclusion in systemd unit 592 570 names</para> 593 571 <indexterm zone="ch-system-systemd systemd-escape"> … … 600 578 <term><command>systemd-hwdb</command></term> 601 579 <listitem> 602 <para> Used to manage hardware database (hwdb)</para>580 <para>Is used to manage the hardware database (hwdb)</para> 603 581 <indexterm zone="ch-system-systemd systemd-hwdb"> 604 582 <primary sortas="b-systemd-hwdb">systemd-hwdb</primary> … … 610 588 <term><command>systemd-id128</command></term> 611 589 <listitem> 612 <para>Generate and printid128 strings</para>590 <para>Generates and prints id128 strings</para> 613 591 <indexterm zone="ch-system-systemd systemd-id128"> 614 592 <primary sortas="b-systemd-id128">systemd-id128</primary> … … 620 598 <term><command>systemd-inhibit</command></term> 621 599 <listitem> 622 <para>Used to execute a program with a shutdown, sleep or idle 623 inhibitor lock taken</para> 600 <para>Is used to execute a program with a shutdown, sleep or idle 601 inhibitor lock taken, preventing an action such as a system shutdown 602 until the process is completed.</para> 624 603 <indexterm zone="ch-system-systemd systemd-inhibit"> 625 604 <primary sortas="b-systemd-inhibit">systemd-inhibit</primary> … … 631 610 <term><command>systemd-machine-id-setup</command></term> 632 611 <listitem> 633 <para> Used by system installer tools to initialize the machine ID612 <para>Is used by system installer tools to initialize the machine ID 634 613 stored in <filename>/etc/machine-id</filename> at install time with a 635 614 randomly generated ID</para> … … 643 622 <term><command>systemd-mount</command></term> 644 623 <listitem> 645 <para> A tool to temporarily mount or auto-mount a drive.</para>624 <para>Is used to temporarily mount or automount disks.</para> 646 625 <indexterm zone="ch-system-systemd systemd-mount"> 647 626 <primary sortas="b-systemd-mount">systemd-mount</primary> … … 653 632 <term><command>systemd-notify</command></term> 654 633 <listitem> 655 <para> Used by daemon scripts to notify the init system about status634 <para>Is used by daemon scripts to notify the init system about status 656 635 changes</para> 657 636 <indexterm zone="ch-system-systemd systemd-notify"> … … 664 643 <term><command>systemd-nspawn</command></term> 665 644 <listitem> 666 <para> Used to run a command or OS in a light-weight namespace645 <para>Is used to run a command or OS in a light-weight namespace 667 646 container</para> 668 647 <indexterm zone="ch-system-systemd systemd-nspawn"> … … 675 654 <term><command>systemd-path</command></term> 676 655 <listitem> 677 <para> Used to query system and user paths</para>656 <para>Is used to query system and user paths</para> 678 657 <indexterm zone="ch-system-systemd systemd-path"> 679 658 <primary sortas="b-systemd-path">systemd-path</primary> … … 685 664 <term><command>systemd-repart</command></term> 686 665 <listitem> 687 <para> Used go grow and add partitions to a partition table when666 <para>Is used to grow and add partitions to a partition table when 688 667 systemd is used in an OS image (e.g. a container).</para> 689 668 <indexterm zone="ch-system-systemd systemd-repart"> … … 696 675 <term><command>systemd-resolve</command></term> 697 676 <listitem> 698 <para> Used to resolve domain names, IPV4 and IPv6 addresses, DNS677 <para>Is used to resolve domain names, IPV4 and IPv6 addresses, DNS 699 678 resource records, and services</para> 700 679 <indexterm zone="ch-system-systemd systemd-resolve"> … … 707 686 <term><command>systemd-run</command></term> 708 687 <listitem> 709 <para>Used to create and start a transient .service or a .scope unit 710 and run the specified command in it</para> 688 <para>Is used to create and start a transient .service or a .scope 689 unit and run the specified command in it. This is useful for 690 validating systemd units.</para> 711 691 <indexterm zone="ch-system-systemd systemd-run"> 712 692 <primary sortas="b-systemd-run">systemd-run</primary> … … 715 695 </varlistentry> 716 696 717 <!-- <varlistentry id="systemd-stdio-bridge">718 <term><command>systemd-stdio-bridge</command></term>719 <listitem>720 <para>To be completed</para>721 <indexterm zone="ch-system-systemd systemd-stdio-bridge">722 <primary sortas="b-systemd-stdio-bridge">systemd-stdio-bridge</primary>723 </indexterm>724 </listitem>725 </varlistentry> -->726 727 697 <varlistentry id="systemd-socket-activate"> 728 698 <term><command>systemd-socket-activate</command></term> 729 699 <listitem> 730 <para> A toolto listen on socket devices and launch a process upon731 connection.</para>700 <para>Is used to listen on socket devices and launch a process upon 701 a successful connection to the socket.</para> 732 702 <indexterm zone="ch-system-systemd systemd-socket-activate"> 733 703 <primary sortas="b-systemd-socket-activate">systemd-socket-activate</primary> … … 752 722 <term><command>systemd-umount</command></term> 753 723 <listitem> 754 <para>Unmount mount points</para>724 <para>Unmounts mount points</para> 755 725 <indexterm zone="ch-system-systemd systemd-umount"> 756 726 <primary sortas="b-systemd-umount">systemd-umount</primary> … … 762 732 <term><command>systemd-tty-ask-password-agent</command></term> 763 733 <listitem> 764 <para>Used to list or process pending systemd password requests</para> 734 <para>Is used to list and/or process pending systemd password 735 requests</para> 765 736 <indexterm zone="ch-system-systemd systemd-tty-ask-password-agent"> 766 737 <primary sortas="b-systemd-tty-ask-password-agent">systemd-tty-ask-password-agent</primary> … … 783 754 <term><command>timedatectl</command></term> 784 755 <listitem> 785 <para> Used to query and change the system clock and its settings756 <para>Is used to query and change the system clock and its settings 786 757 </para> 787 758 <indexterm zone="ch-system-systemd timedatectl"> … … 794 765 <term><command>udevadm</command></term> 795 766 <listitem> 796 <para> Generic udev administration tool: controls the udevd daemon,797 provides info from the Udev database, monitors uevents, waits for798 uevents to finish, tests udev configuration, and triggers uevents799 for a given device</para>767 <para>Is a generic udev administration tool which controls the udevd 768 daemon, provides info from the Udev hardware database, monitors 769 uevents, waits for uevents to finish, tests udev configuration, and 770 triggers uevents for a given device</para> 800 771 <indexterm zone="ch-system-systemd udevadm"> 801 772 <primary sortas="b-udevadm">udevadm</primary> … … 807 778 <term><filename class="libraryfile">libsystemd</filename></term> 808 779 <listitem> 809 <para> The main systemd utility library</para>780 <para>Is the main systemd utility library</para> 810 781 <indexterm zone="ch-system-systemd libsystemd"> 811 782 <primary sortas="c-libsystemd">libsystemd</primary> … … 817 788 <term><filename class="libraryfile">libudev</filename></term> 818 789 <listitem> 819 <para> Alibrary to access Udev device information</para>790 <para>Is a library to access Udev device information</para> 820 791 <indexterm zone="ch-system-systemd libudev"> 821 792 <primary sortas="c-libudev">libudev</primary>
Note:
See TracChangeset
for help on using the changeset viewer.