From e779b6bc7aa470289bde0bf99aa7051dffc4384b Mon Sep 17 00:00:00 2001 From: Erik Kapfer Date: Sun, 18 Mar 2018 13:55:31 +0100 Subject: [PATCH] PAM: Delete old lib and symlinks Core 119 update delivers an updated PAM whereby the libdir has been changed from /lib to /usr/lib but the old libraries and symlinks are still presant. Since the system searches /lib before /usr/lib , the old libs and symlinks are used which ends up in an `LIBPAM_EXTENSION_1.1' not found. Signed-off-by: Erik Kapfer Signed-off-by: Michael Tremer --- config/rootfiles/core/120/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/120/update.sh b/config/rootfiles/core/120/update.sh index 2f1bca02cb..02f2ad0777 100644 --- a/config/rootfiles/core/120/update.sh +++ b/config/rootfiles/core/120/update.sh @@ -34,6 +34,11 @@ done # Remove forgotten PHP file rm -f /etc/httpd/conf/conf.d/php5.conf +# Delete old PAM libs and symlinks if presant +if ls /lib | grep -q 'libpam.*'; then + rm -f /lib/libpam* +fi + # Stop services # Extract files -- 2.39.2