After yesterday evening’s automatic update I’m no longer able to login to my Tumbleweed installation on my Thinkpad laptop.
The machine still boots, but the graphical login screen does not appear. In a console I cannot input my password because after entering the user name the system directly switches back to requesting the user name instead of asking for the password.
I extracted the drive and attached it to another machine. Looking in the logs gave me a hint that pam_unix.so no longer loads. The reason is an unfulfilled dependency on a special libcrypt version.
I tried to update to newer versions of pam_unix.so and/or libcrypt, but it seems I already have the latest. Any ideas how to solve this?
Excerpt from /var/log/messages:
2019-05-14T11:24:49.921389+02:00 t440p systemd: PAM unable to dlopen(/lib64/security/pam_unix.so): /lib64/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /lib64/security/pam_unix.so)
2019-05-14T11:24:49.921469+02:00 t440p systemd: PAM adding faulty module: /lib64/security/pam_unix.so
2019-05-14T11:24:49.922724+02:00 t440p systemd[2183]: PAM failed: Module is unknown
2019-05-14T11:24:49.922850+02:00 t440p systemd[2183]: user@481.service: Failed to set up PAM session: Operation not permitted
2019-05-14T11:24:49.922931+02:00 t440p systemd[2183]: user@481.service: Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted
2019-05-14T11:24:49.923356+02:00 t440p systemd[1]: user@481.service: Failed with result 'protocol'.
2019-05-14T11:24:49.923656+02:00 t440p systemd[1]: Failed to start User Manager for UID 481.
2019-05-14T11:24:49.923723+02:00 t440p systemd[1]: user-runtime-dir@481.service: Unit not needed anymore. Stopping.
2019-05-14T11:24:49.923940+02:00 t440p sddm-helper: pam_systemd(sddm-greeter:session): Failed to create session: Start job for unit user@481.service failed with 'failed'
2019-05-14T11:24:49.924749+02:00 t440p systemd[1]: Stopping /run/user/481 mount wrapper...
2019-05-14T11:24:49.925884+02:00 t440p sddm-helper[2180]: [PAM] openSession: Module is unknown
2019-05-14T11:24:49.925977+02:00 t440p sddm[2159]: Error from greeter session: "Module is unknown"
2019-05-14T11:24:49.940857+02:00 t440p systemd[1]: Stopped /run/user/481 mount wrapper.
Dependencies of pam_unix.so (inside a chroot env):
donald:/lib64/security # ldd pam_unix.so
./pam_unix.so: /lib64/libcrypt.so.1: version `XCRYPT_2.0' not found (required by ./pam_unix.so)
linux-vdso.so.1 (0x00007ffcfd19a000)
libpam.so.0 => /lib64/libpam.so.0 (0x00007fbebabd9000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fbebab9c000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fbebab70000)
libnsl.so.2 => /usr/lib64/libnsl.so.2 (0x00007fbebab55000)
libtirpc.so.3 => /lib64/libtirpc.so.3 (0x00007fbebab20000)
libc.so.6 => /lib64/libc.so.6 (0x00007fbeba95e000)
libaudit.so.1 => /usr/lib64/libaudit.so.1 (0x00007fbeba935000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fbeba930000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007fbeba8a0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbebac50000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x00007fbeba852000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbeba831000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007fbeba74f000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007fbeba72f000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fbeba729000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00007fbeba719000)
libkeyutils.so.1 => /usr/lib64/libkeyutils.so.1 (0x00007fbeba713000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fbeba6f9000)
libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007fbeba26f000)
libz.so.1 => /lib64/libz.so.1 (0x00007fbeba253000)