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 --- chapter06/systemd.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'chapter06') 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* -- cgit v1.2.3-54-g00ecf