Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 599714

Summary: gnome-base/gdm-3.22.1 installs pam_gdm.so into wrong directory
Product: Gentoo Linux Reporter: daniel <paessler>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, yoshi3
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=774776
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info

Description daniel 2016-11-14 16:30:24 UTC
Created attachment 453298 [details]
emerge info

After the update to gnome-3.22, gdm-autologin fails with:

gdm-autologin][722]: PAM unable to dlopen(/lib64/security/pam_gdm.so): /lib64/security/pam_gdm.so: cannot open shared object file: No such file or directory
gdm-autologin][722]: PAM adding faulty module: /lib64/security/pam_gdm.so

because pam_gdm.so is installed in /usr/lib64/security/ instead of /lib64/security/, which leads to a black screen when auto-login is enabled in /etc/gdm/custom.conf
Comment 1 Bernd Feige 2016-11-15 09:16:56 UTC
Same here!

Even setting --with-pam-prefix=/lib in configure does not lead to pam_gdm.so being installed under /lib/security - pam_gdm/ simply uses libdir for the installation, which is /usr/lib64 here...
Comment 2 Marcin Kowalski 2016-11-18 11:50:15 UTC
Same situation here. Gdm fails to start now.
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2016-11-18 17:28:57 UTC
A symlink unbreaks gdm autologin

/lib64/security/pam_gdm.so -> /usr/lib64/security/pam_gdm.so

Will investigate
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2016-11-21 07:51:33 UTC
pushed 3.22.1-r1 with a patch. Closing.

Don't hesitate to reopen if the issue still appears.

Thanks !