glibc: Don't "overwrite" libcrypt.so.1* when updating

As we've already concluded, overwriting a shared object can crash
running processes using code or data from this shared object.  For
example if gdm is crashed, we may leave the system unusable :(.
This commit is contained in:
Xi Ruoyao 2024-02-24 13:24:20 +08:00
parent bd003a8a8c
commit 4aa6831f14
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ esac</userinput></screen>
<emphasis role='bold'>you MUST follow the note in Libxcrypt
section to install
<filename class='libraryfile'>libcrypt.so.1*</filename>
(overwritting
(replacing
<filename class='libraryfile'>libcrypt.so.1</filename> from the
prior Glibc installation)</emphasis>.
</para>

View File

@ -110,7 +110,7 @@
--disable-static \
--disable-failure-tokens
make
cp -av .libs/libcrypt.so.1* /usr/lib</userinput></screen>
cp -av --remove-destination .libs/libcrypt.so.1* /usr/lib</userinput></screen>
</note>
</sect2>