From 777b5cbc8e6cfcbc0df9b8cd691775b8255b5964 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Fri, 4 Oct 2019 02:24:52 +0000 Subject: Add a consolidated patch to fix several bugs in systemd. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11680 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 13 +++++++++++++ chapter03/patches.xml | 6 +++--- chapter06/systemd.xml | 23 ++++++++++++++++++----- general.ent | 6 +++--- patches.ent | 6 +++--- 5 files changed, 40 insertions(+), 14 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3f0064075..4401e378c 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,19 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2019-10-03 + + + [renodr] - Add a consolidated patch to fix several + problems with the new version of systemd, including bugs + in udev, filesystem mounting (with Samba-4.11), hardware + database updates, timesync fixes with adjtime as is set + in LFS, and bugs with network management and domain + resolution. + + + 2019-09-29 diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 79fefcf61..d351509a3 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -118,10 +118,10 @@ - Systemd udev evdev fix - &systemd-udev-patch-size;: + Systemd Consolidated Patch - &systemd-consolidated-patch-size;: - Download: - MD5 sum: &systemd-udev-patch-md5; + Download: + MD5 sum: &systemd-consolidated-patch-md5; diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml index 8f6d1287e..e9e2a9476 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -40,10 +40,10 @@ Installation of systemd - First, apply a patch to fix issues with udev and evdev - device node assignment: + First, apply a patch to fix various bugs since the release + of systemd-243. -patch -Np1 -i ../systemd-&systemd-version;-udev_fix-1.patch +patch -Np1 -i ../systemd-&systemd-version;-consolidated_fixes-1.patch Create a symlink to work around missing xsltproc: @@ -207,8 +207,21 @@ meson --prefix=/usr \ Setup the basic target structure: systemctl preset-all - - Remove symbolic links to Util-Linux libraries: + + Disable a service that is known to cause problems with systems that + use a network configuration other than what is provided by + systemd-networkd: + + +systemctl disable systemd-time-wait-sync.service + + Prevent systemd from resetting the maximum PID value which causes + some problems with packages and units in BLFS: + + +rm -f /etc/sysctl.d/50-pid-max.conf + + Cleanup symbolic links to Util-Linux libraries: rm -fv /usr/lib/lib{blkid,uuid,mount}.so* diff --git a/general.ent b/general.ent index d23bd5338..061a92e02 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/patches.ent b/patches.ent index 6addb0fb1..26ec12446 100644 --- a/patches.ent +++ b/patches.ent @@ -57,7 +57,7 @@ - - - + + + -- cgit v1.2.3-54-g00ecf