diff options
author | Douglas R. Reno <renodr@linuxfromscratch.org> | 2019-10-04 02:24:52 +0000 |
---|---|---|
committer | Douglas R. Reno <renodr@linuxfromscratch.org> | 2019-10-04 02:24:52 +0000 |
commit | 777b5cbc8e6cfcbc0df9b8cd691775b8255b5964 (patch) | |
tree | 86c646758f6a2daa5fa5abe84b74f2d64665adf3 /chapter06 | |
parent | 390ad20f9e632ec5bbcbf0946b04deea58ec8ca8 (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/systemd.xml | 23 |
1 files changed, 18 insertions, 5 deletions
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 @@ <sect2 role="installation"> <title>Installation of systemd</title> - <para>First, apply a patch to fix issues with udev and evdev - device node assignment:</para> + <para>First, apply a patch to fix various bugs since the release + of systemd-243.</para> -<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-udev_fix-1.patch</userinput></screen> +<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-consolidated_fixes-1.patch</userinput></screen> <para>Create a symlink to work around missing xsltproc:</para> @@ -207,8 +207,21 @@ meson --prefix=/usr \ <para>Setup the basic target structure:</para> <screen><userinput remap="adjust">systemctl preset-all</userinput></screen> - - <para>Remove symbolic links to Util-Linux libraries:</para> + + <para>Disable a service that is known to cause problems with systems that + use a network configuration other than what is provided by + systemd-networkd:</para> + <!-- Observed halting startup with dhcpcd handling the primary NIC --> + +<screen><userinput remap="adjust">systemctl disable systemd-time-wait-sync.service</userinput></screen> + + <para>Prevent systemd from resetting the maximum PID value which causes + some problems with packages and units in BLFS:</para> + <!-- FCRON in particular --> + +<screen><userinput remap="adjust">rm -f /etc/sysctl.d/50-pid-max.conf</userinput></screen> + + <para>Cleanup symbolic links to Util-Linux libraries:</para> <screen><userinput remap="adjust">rm -fv /usr/lib/lib{blkid,uuid,mount}.so*</userinput></screen> |