From 024bcced80005cfb60c9be4aed75543ade53af1e Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 2 Feb 2024 00:28:27 +0800 Subject: [PATCH] glibc: Need to remove /usr/sbin/nscd if upgrading on LFS < 12.1 --- chapter08/glibc.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index e8984497b..791f9afd5 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -241,15 +241,24 @@ esac - - + + - If upgrading on a LFS system based on Systemd prior to 12.1 - (exclusive), disable and stop nscd: + If upgrading on a LFS system prior to 12.1 (exclusive), + remove the nscd program: - systemctl disable --now nscd + rm -f /usr/sbin/nscd + + + If such a LFS system is based on Systemd, disable and stop + the nscd service now: + + + systemctl disable --now nscd