GNOME Bugzilla – Bug 774776
wrong install location for pam_gdm.so
Last modified: 2017-01-05 15:19:48 UTC
Created attachment 340397 [details] [review] add --with-pam-dir to ./configure gdm installs pam_gdm.so in $(libdir)/security which expands to /usr/lib64/security on amd64 gentoo systems. Unfortunately, our pam setup looks for pam modules in /lib64/security. autologin thus fails to work (non-autologin setup seem to be working fine). The attached patch adds a --with-pam-dir option to ./configure to allow setting the directory, the default being the current $(libdir)/security. NB: the patch is copy/pasted from gnome-keyring and I didn't do any sort of editing. Let me know if you want me to change anything.
i think we already have --with-pam-prefix ! Thanks for the patch though.
--with-pam-prefix only controls where the configuration files go (it defaults to /etc) https://git.gnome.org/browse/gdm/tree/data/Makefile.am?h=3.22.1#n298 The issue here is the install location of the compiled pam module pam_gdm.so. May I get you to reconsider this patch ? Thanks
oh right, do you mind changing the existing option to be --with-pam-confdir and call this one --with-pam-libdir ? (or something like that?) I basically don't want to have two similar sounding options that do different things since it can lead to confusion (cf comment 1 !)
Created attachment 341920 [details] [review] add --with-pam-mod-dir to ./configure The configure flag is now called --with-pam-mod-dir. I've tweaked the indentation a bit and added some output in the summary at the end of configure. Cheers
thanks.