You are not logged in.
Hello everybody, since the update to gdm 45.0.1-1, when I arrive to gdm to login, if my yubikey is plugged in, I can't login.
I use my yubikey to unlock my encrypted hard drive.
GDM keep asking me for my user name and when unplugg my yubikey, my account suddenly become available and I can enter my password and login.
Here is the result of
cat journalctl -b | grep "gdm-smartcard"
which looks linked to the issue.
oct. 10 16:45:30 xalares.tk gdm-smartcard][2602]: PAM unable to dlopen(/usr/lib/security/pam_pkcs11.so): /usr/lib/security/pam_pkcs11.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
oct. 10 16:45:30 xalares.tk gdm-smartcard][2602]: PAM adding faulty module: /usr/lib/security/pam_pkcs11.so
oct. 10 16:45:36 xalares.tk gdm-smartcard][2602]: pam_faillock(gdm-smartcard:auth): User unknown
oct. 10 16:45:36 xalares.tk gdm-smartcard][2602]: gkr-pam: error looking up user information
oct. 10 16:45:38 xalares.tk gdm-smartcard][2678]: PAM unable to dlopen(/usr/lib/security/pam_pkcs11.so): /usr/lib/security/pam_pkcs11.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
oct. 10 16:45:38 xalares.tk gdm-smartcard][2678]: PAM adding faulty module: /usr/lib/security/pam_pkcs11.so
Here is the content of /etc/pam.d/gdm-smartcard
auth requisite pam_nologin.so
auth requisite pam_faillock.so preauth
auth required pam_pkcs11.so wait_for_card card_only
auth required pam_shells.so
auth optional pam_permit.so
auth required pam_env.so
auth [success=ok default=1] pam_gdm.so
auth optional pam_gnome_keyring.so
account include system-local-login
password required pam_deny.so
session include system-local-login
session optional pam_gnome_keyring.so auto_start
I hope you can help me, see you soon.
Last edited by Xalares (2023-10-11 18:57:23)
Offline
For the record this seems to be a GDM bug, I've found this https://bugs.launchpad.net/ubuntu/+sour … ug/1933027, which describe the exact behavior I get. And has been signaled there too https://gitlab.gnome.org/GNOME/gdm/-/issues/877.
Last edited by Xalares (2023-10-11 17:42:17)
Offline
Don't set it to [Closed], this is used by the mods for topics to be deleted. Please set it to [Solved].
Offline