From 9e7475a6c30cbc40d2cf69118ea65d682189b091 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 12 Jun 2020 21:04:48 +0000 Subject: Updates to chapter09 for systemd git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11929 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/dbus.xml | 10 ++-- chapter08/systemd.xml | 157 ++++++++++++++++++++------------------------------ 2 files changed, 69 insertions(+), 98 deletions(-) (limited to 'chapter08') diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml index 0b06ad3e0..211399207 100644 --- a/chapter08/dbus.xml +++ b/chapter08/dbus.xml @@ -63,7 +63,7 @@ --with-console-auth-dir=/run/console - This specifies the location of the ConsoleKit auth + This specifies the location of the ConsoleKit authorization directory. @@ -91,7 +91,7 @@ mv -v /usr/lib/libdbus-1.so.* /lib ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so - Create a symlink, so that D-Bus and systemd can use the same + Create a symlink so that D-Bus and systemd can use the same machine-id file: ln -sfv /etc/machine-id /var/lib/dbus @@ -130,7 +130,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-cleanup-sockets - Used to clean up leftover sockets in a directory + is used to remove leftover sockets in a directory dbus-cleanup-sockets @@ -140,7 +140,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-daemon - The D-Bus message bus daemon + Is the D-Bus message bus daemon dbus-daemon @@ -193,7 +193,7 @@ ln -sfv ../../lib/$(readlink /usr/lib/libdbus-1.so) /usr/lib/libdbus-1.so dbus-test-tool - A tool to help packages test + Is a tool to help packages test D-Bus dbus-test-tool diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index 319f107a1..4049d726d 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -44,8 +44,7 @@ patch -Np1 -i ../systemd-&systemd-version;-gcc_10-fixes-1.patch - - Create a symlink to work around missing xsltproc: + Create a symlink to work around the xsltproc command not being installed: ln -sf /bin/true /usr/bin/xsltproc @@ -96,22 +95,10 @@ meson --prefix=/usr \ The meaning of the meson options: - - -D*-path=* - These switches provide location of binaries needed by + These switches provide the location of binaries needed by systemd at runtime that have not yet been installed. @@ -154,7 +141,7 @@ meson --prefix=/usr \ -Droot* These switches ensure that core programs and - shared libraries are installed in the subdirectories + shared libraries are installed in subdirectories of the root partition. @@ -200,11 +187,7 @@ meson --prefix=/usr \ Compile the package: LANG=en_US.UTF-8 ninja - Install the package: LANG=en_US.UTF-8 ninja install @@ -232,16 +215,8 @@ meson --prefix=/usr \ Prevent systemd from resetting the maximum PID value which causes some problems with packages and units in BLFS: - rm -f /usr/lib/sysctl.d/50-pid-max.conf - @@ -290,7 +265,7 @@ meson --prefix=/usr \ bootctl - Used to query the firmware and boot manager settings + Is used to query the firmware and boot manager settings bootctl @@ -300,7 +275,7 @@ meson --prefix=/usr \ busctl - Used to introspect and monitor the D-Bus bus + Is used to introspect and monitor the D-Bus bus busctl @@ -310,7 +285,7 @@ meson --prefix=/usr \ coredumpctl - Used to retrieve coredumps from the systemd journal + Is used to retrieve coredumps from the systemd journal coredumpctl @@ -334,7 +309,7 @@ meson --prefix=/usr \ hostnamectl - Used to query and change the system hostname and related + Is used to query and change the system hostname and related settings hostnamectl @@ -345,9 +320,10 @@ meson --prefix=/usr \ init - The first process to be started when the kernel has initialized + Is the first process to be started when the kernel has initialized the hardware which takes over the boot process and starts all - processes according to its configuration files + processes according to its configuration files. In this case, it starts + systemd. init @@ -357,7 +333,7 @@ meson --prefix=/usr \ journalctl - Used to query the contents of the systemd journal + Is used to query the contents of the systemd journal journalctl @@ -367,8 +343,8 @@ meson --prefix=/usr \ kernel-install - Used to add and remove kernel and initramfs images to and - from /boot + Is used to add and remove kernel and initramfs images to and + from /boot. In LFS, this is done manually. kernel-install @@ -378,7 +354,7 @@ meson --prefix=/usr \ localectl - Used to query and change the system locale and keyboard layout + Is used to query and change the system locale and keyboard layout settings localectl @@ -389,7 +365,7 @@ meson --prefix=/usr \ loginctl - Used to introspect and control the state of the systemd Login + Is used to introspect and control the state of the systemd Login Manager loginctl @@ -400,7 +376,7 @@ meson --prefix=/usr \ machinectl - Used to introspect and control the state of the systemd Virtual + Is used to introspect and control the state of the systemd Virtual Machine and Container Registration Manager machinectl @@ -411,8 +387,8 @@ meson --prefix=/usr \ networkctl - Used to introspect the state of the network links as seen by - systemd-networkd + Is used to introspect and configure the state of the network + links configured by systemd-networkd networkctl @@ -422,7 +398,7 @@ meson --prefix=/usr \ portablectl - Used to attach or detach portable services from the local + Is used to attach or detach portable services from the local system portablectl @@ -433,7 +409,7 @@ meson --prefix=/usr \ poweroff - Tells the kernel to halt the system and switch off the computer + Instructs the kernel to halt the system and switch off the computer (see halt) poweroff @@ -444,7 +420,7 @@ meson --prefix=/usr \ reboot - Tells the kernel to reboot the system (see + Instructs the kernel to reboot the system (see halt) reboot @@ -455,7 +431,7 @@ meson --prefix=/usr \ resolvconf - Register DNS server and domain configuration with + Registers DNS server and domain configuration with systemd-resolved resolvconf @@ -466,8 +442,8 @@ meson --prefix=/usr \ resolvectl - Send control commands to the network name resolution - manager, or resolve domain names, IPv4 and IPv6 addresses, + Sends control commands to the network name resolution + manager, or resolves domain names, IPv4 and IPv6 addresses, DNS records, and services. resolvectl @@ -478,7 +454,7 @@ meson --prefix=/usr \ runlevel - Reports the previous and the current run-level, as noted in the + Outputs the previous and the current run-level, as noted in the last run-level record in /var/run/utmp runlevel @@ -489,8 +465,8 @@ meson --prefix=/usr \ shutdown - Brings the system down in a secure way, signaling all processes - and notifying all logged-in users + Brings the system down in a safe and secure manner, signaling + all processes and notifying all logged-in users shutdown @@ -500,7 +476,7 @@ meson --prefix=/usr \ systemctl - Used to introspect and control the state of the systemd system + Is used to introspect and control the state of the systemd system and service manager systemctl @@ -511,8 +487,8 @@ meson --prefix=/usr \ systemd-analyze - Used to determine system boot-up performance of the current - boot + Is used to determine system startup performance of the current + boot, as well as identify troublesome systemd units systemd-analyze @@ -522,7 +498,7 @@ meson --prefix=/usr \ systemd-ask-password - Used to query a system password or passphrase from the user, + Is used to query a system password or passphrase from the user, using a question message specified on the command line systemd-ask-password @@ -533,7 +509,8 @@ meson --prefix=/usr \ systemd-cat - Used to connect STDOUT and STDERR of a process with the Journal + Is used to connect the STDOUT and STDERR outputs of a process + with the systemd journal. systemd-cat @@ -566,7 +543,7 @@ meson --prefix=/usr \ systemd-delta - Used to identify and compare configuration files in + Is used to identify and compare configuration files in /etc that override default counterparts in /usr @@ -578,7 +555,8 @@ meson --prefix=/usr \ systemd-detect-virt - Detects execution in a virtualized environment + Detects whether the system is being run in a virtual + environment, and adjusts udev accordingly. systemd-detect-virt @@ -588,7 +566,7 @@ meson --prefix=/usr \ systemd-escape - Used to escape strings for inclusion in systemd unit + Is used to escape strings for inclusion in systemd unit names systemd-escape @@ -599,7 +577,7 @@ meson --prefix=/usr \ systemd-hwdb - Used to manage hardware database (hwdb) + Is used to manage the hardware database (hwdb) systemd-hwdb @@ -609,7 +587,7 @@ meson --prefix=/usr \ systemd-id128 - Generate and print id128 strings + Generates and prints id128 strings systemd-id128 @@ -619,8 +597,9 @@ meson --prefix=/usr \ systemd-inhibit - Used to execute a program with a shutdown, sleep or idle - inhibitor lock taken + Is used to execute a program with a shutdown, sleep or idle + inhibitor lock taken, preventing an action such as a system shutdown + until the process is completed. systemd-inhibit @@ -630,7 +609,7 @@ meson --prefix=/usr \ systemd-machine-id-setup - Used by system installer tools to initialize the machine ID + Is used by system installer tools to initialize the machine ID stored in /etc/machine-id at install time with a randomly generated ID @@ -642,7 +621,7 @@ meson --prefix=/usr \ systemd-mount - A tool to temporarily mount or auto-mount a drive. + Is used to temporarily mount or automount disks. systemd-mount @@ -652,7 +631,7 @@ meson --prefix=/usr \ systemd-notify - Used by daemon scripts to notify the init system about status + Is used by daemon scripts to notify the init system about status changes systemd-notify @@ -663,7 +642,7 @@ meson --prefix=/usr \ systemd-nspawn - Used to run a command or OS in a light-weight namespace + Is used to run a command or OS in a light-weight namespace container systemd-nspawn @@ -674,7 +653,7 @@ meson --prefix=/usr \ systemd-path - Used to query system and user paths + Is used to query system and user paths systemd-path @@ -684,7 +663,7 @@ meson --prefix=/usr \ systemd-repart - Used go grow and add partitions to a partition table when + Is used to grow and add partitions to a partition table when systemd is used in an OS image (e.g. a container). systemd-repart @@ -695,7 +674,7 @@ meson --prefix=/usr \ systemd-resolve - Used to resolve domain names, IPV4 and IPv6 addresses, DNS + Is used to resolve domain names, IPV4 and IPv6 addresses, DNS resource records, and services systemd-resolve @@ -706,29 +685,20 @@ meson --prefix=/usr \ systemd-run - Used to create and start a transient .service or a .scope unit - and run the specified command in it + Is used to create and start a transient .service or a .scope + unit and run the specified command in it. This is useful for + validating systemd units. systemd-run - - systemd-socket-activate - A tool to listen on socket devices and launch a process upon - connection. + Is used to listen on socket devices and launch a process upon + a successful connection to the socket. systemd-socket-activate @@ -751,7 +721,7 @@ meson --prefix=/usr \ systemd-umount - Unmount mount points + Unmounts mount points systemd-umount @@ -761,7 +731,8 @@ meson --prefix=/usr \ systemd-tty-ask-password-agent - Used to list or process pending systemd password requests + Is used to list and/or process pending systemd password + requests systemd-tty-ask-password-agent @@ -782,7 +753,7 @@ meson --prefix=/usr \ timedatectl - Used to query and change the system clock and its settings + Is used to query and change the system clock and its settings timedatectl @@ -793,10 +764,10 @@ meson --prefix=/usr \ udevadm - Generic udev administration tool: controls the udevd daemon, - provides info from the Udev database, monitors uevents, waits for - uevents to finish, tests udev configuration, and triggers uevents - for a given device + Is a generic udev administration tool which controls the udevd + daemon, provides info from the Udev hardware database, monitors + uevents, waits for uevents to finish, tests udev configuration, and + triggers uevents for a given device udevadm @@ -806,7 +777,7 @@ meson --prefix=/usr \ libsystemd - The main systemd utility library + Is the main systemd utility library libsystemd @@ -816,7 +787,7 @@ meson --prefix=/usr \ libudev - A library to access Udev device information + Is a library to access Udev device information libudev -- cgit v1.2.3-54-g00ecf