glibc: Need to remove /usr/sbin/nscd if upgrading on LFS < 12.1

This commit is contained in:
Xi Ruoyao 2024-02-02 00:28:27 +08:00
parent 2434905486
commit 024bcced80
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -241,15 +241,24 @@ esac</userinput></screen>
</para> </para>
</listitem> </listitem>
<!-- Otherwise messages complaining "nscd disabled building Glibc" <!-- Otherwise on lfs-systemd nscd will fail to start on boot,
will show up running things like sudo. --> and on both lfs-sysv and lfs-systemd useradd etc. will try
<listitem revision='systemd'> to start nscd, then nscd will fail to start as well and
produce some spurious error message. -->
<listitem>
<para> <para>
If upgrading on a LFS system based on Systemd prior to 12.1 If upgrading on a LFS system prior to 12.1 (exclusive),
(exclusive), disable and stop <command>nscd</command>: remove the <command>nscd</command> program:
</para> </para>
<screen role='nodump'><userinput>systemctl disable --now nscd</userinput></screen> <screen role='nodump'><userinput>rm -f /usr/sbin/nscd</userinput></screen>
<para>
If such a LFS system is based on Systemd, disable and stop
the <command>nscd</command> service now:
</para>
<screen revision='systemd' role='nodump'><userinput>systemctl disable --now nscd</userinput></screen>
</listitem> </listitem>
<listitem> <listitem>