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 erik.kapfer@ipfire.org --- 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 2f1bca0..02f2ad0 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
Hi, problem on Core 119 with a not working PAM has been reported in the forum which we could solve like described in here https://forum.ipfire.org/viewtopic.php?f=22&t=20480
Best,
Erik
Am Sonntag, den 18.03.2018, 13:55 +0100 schrieb Erik Kapfer:
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 erik.kapfer@ipfire.org
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 2f1bca0..02f2ad0 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
Hello,
we need to encourage people more to file tickets on BZ so that these things don't go unmissed.
I barely read anything on the forum and even if I had seen something, it is really hard to find the post again where something has been reported.
-Michael
On Sun, 2018-03-18 at 14:00 +0100, ummeegge wrote:
Hi, problem on Core 119 with a not working PAM has been reported in the forum which we could solve like described in here https://forum.ipfire.org/viewtopic.php?f=22&t=20480
Best,
Erik
Am Sonntag, den 18.03.2018, 13:55 +0100 schrieb Erik Kapfer:
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 erik.kapfer@ipfire.org
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 2f1bca0..02f2ad0 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
Hi Michael,
Am Sonntag, den 18.03.2018, 13:43 +0000 schrieb Michael Tremer:
Hello,
we need to encourage people more to file tickets on BZ so that these things don't go unmissed.
important point but in that case problem has been seen, fixed, double checked and pushed.
I barely read anything on the forum and even if I had seen something, it is really hard to find the post again where something has been reported.
-Michael
Best,
Erik