diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 95fb83644..8b9db8527 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -39,6 +39,80 @@
or as
appropriate for the entry or if needed the entire day's listitem.
-->
+
+ 2023-06-03
+
+
+ [bdubbs] - Update to iana-etc-20230524. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to MarkupSafe-2.1.3 (Python Module).
+ Fixes #5268.
+
+
+ [bdubbs] - Update to linux-6.3.5. Fixes
+ #5264.
+
+
+ [bdubbs] - Update to openssl-3.1.1. Fixes
+ #5267.
+
+
+ [bdubbs] - Update to meson-1.1.1. Fixes
+ #5266.
+
+
+ [bdubbs] - Update to diffutils-3.10. Fixes
+ #5262.
+
+
+ [bdubbs] - Update to bc-6.6.0. Fixes
+ #5263.
+
+
+
+
+
+ 2023-05-25
+
+
+ [ken] - Remove unneeded group sgx from eudev rules. Fixes
+ #5265.
+
+
+
+
+
+ 2023-05-18
+
+
+ [bdubbs] - Update to util-linux-2.39. Fixes
+ #5259.
+
+
+ [bdubbs] - Update to linux-6.3.3. Fixes
+ #5261.
+
+
+ [bdubbs] - Update to libcap-2.69. Fixes
+ #5258.
+
+
+ [bdubbs] - Update to grep-3.11. Fixes
+ #5256.
+
+
+ [bdubbs] - Update to flit_core-3.9.0. Fixes
+ #5257.
+
+
+ [bdubbs] - Update to eudev-3.2.12. Fixes
+ #5260.
+
+
+
+
2023-05-13
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 8c2bfda05..dbdc59ac9 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -85,15 +85,15 @@
-
+
-
+
@@ -109,6 +109,9 @@
+
+ Flit-core-&flit-core-version;
+
@@ -169,9 +172,9 @@
-
+
Libelf-&elfutils-version; (from elfutils)
@@ -199,9 +202,9 @@
Man-pages-&man-pages-version;
-
+
Meson-&meson-version;
@@ -217,9 +220,9 @@
-
+
@@ -268,9 +271,9 @@
-
+
Vim-&vim-version;
diff --git a/chapter07/util-linux.xml b/chapter07/util-linux.xml
index a774e89b4..f5d4f7630 100644
--- a/chapter07/util-linux.xml
+++ b/chapter07/util-linux.xml
@@ -53,6 +53,7 @@
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--libdir=/usr/lib \
+ --runstatedir=/run \
--docdir=/usr/share/doc/util-linux-&util-linux-version; \
--disable-chfn-chsh \
--disable-login \
@@ -62,8 +63,7 @@
--disable-runuser \
--disable-pylibmount \
--disable-static \
- --without-python \
- runstatedir=/run
+ --without-python
The meaning of the configure options:
diff --git a/chapter08/eudev.xml b/chapter08/eudev.xml
index ea3cf1e20..9baea3328 100644
--- a/chapter08/eudev.xml
+++ b/chapter08/eudev.xml
@@ -39,10 +39,18 @@
Installation of Eudev
-
+
+
+ Remove an unneeded group
+ sgx, from the default udev
+ rules:
+
+sed -i -e 's/GROUP="sgx", //' rules/50-udev-default.rules
Prepare Eudev for compilation:
@@ -164,7 +172,7 @@ rm -rf DESTDIR
consider it dangerous. Create a configuration file to override it:
-cat > /etc/udev/rules.d/65-kvm.rules << "EOF"
+cat > /etc/udev/rules.d/65-kvm.rules << "EOF"
KERNEL=="kvm", GROUP="kvm", MODE="0660", TAG+="uaccess"
EOF
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index b18798ab7..27d77c6ec 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -123,7 +123,7 @@ cd build
By default, during the installation of GCC some system
headers would be fixed
to be used with GCC. This
- is not necessary for a modern Linux system, and potentionally
+ is not necessary for a modern Linux system, and potentially
harmful if a package is reinstalled after installing GCC. This
switch prevents GCC from fixing
the headers.
diff --git a/chapter08/pkgmgt.xml b/chapter08/pkgmgt.xml
index 8bf8dfdaa..7104d9cba 100644
--- a/chapter08/pkgmgt.xml
+++ b/chapter08/pkgmgt.xml
@@ -85,6 +85,20 @@
libraries until all the dependent packages have been recompiled.
+ If a package is (directly or indirectly) linked to both
+ the old and new names of a shared library (for example, the package
+ links to both libfoo.so.2 and
+ libbar.so.1, while the latter
+ links to libfoo.so.3), the
+ package may malfunction because the different revisions of the shared
+ library present incompatible definitions for some symbol names. This can be
+ caused by recompiling some, but not all, of the packages linked to the
+ old shared library after the package providing the shared library is
+ upgraded. To avoid the issue, users will need to rebuild every package
+ linked to a shared library with an updated revision (e.g. libfoo.so.2 to
+ libfoo.so.3) as soon as possible.
+
+
If a package containing a shared library is updated,
and the name of the library doesn't change, but the version number of the
library file decreases (for example,
@@ -112,14 +126,13 @@
(replace libfoo with the name of the
library):
-grep -l -e 'libfoo.*deleted' /proc/*/maps |
- tr -cd 0-9\\n | xargs -r ps u
+grep -l 'libfoo.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u
If OpenSSH is being used to access
the system and it is linked to the updated library, you must
restart the sshd service, then logout, login again,
- and rerun the preceding ps command to confirm that nothing is still using the
+ and run the preceding command again to confirm that nothing is still using the
deleted libraries.
diff --git a/chapter08/util-linux.xml b/chapter08/util-linux.xml
index a8e623593..b588a6a55 100644
--- a/chapter08/util-linux.xml
+++ b/chapter08/util-linux.xml
@@ -42,11 +42,16 @@
Installation of Util-linux
+ First, disable a problem test:
+
+ sed -i '/test_mkfds/s/^/#/' tests/helpers/Makemodule.am
+
Prepare Util-linux for compilation:
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--bindir=/usr/bin \
--libdir=/usr/lib \
+ --runstatedir=/run \
--sbindir=/usr/sbin \
--disable-chfn-chsh \
--disable-login \
@@ -64,6 +69,7 @@
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--bindir=/usr/bin \
--libdir=/usr/lib \
+ --runstatedir=/run \
--sbindir=/usr/sbin \
--disable-chfn-chsh \
--disable-login \
diff --git a/general.ent b/general.ent
index 1cc9fe030..912a360d6 100644
--- a/general.ent
+++ b/general.ent
@@ -91,7 +91,7 @@
-
+
-
+
-
+
-
+
+
+
-
+