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

Bug 93920

Summary: xorg-x11 uses hard-coded paths in it's pam.d modules
Product: Gentoo Linux Reporter: Herbie Hopkins (RETIRED) <herbs>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: amd64
Priority: High Keywords: Inclusion
Version: 2005.0   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 79024, 93119    

Description Herbie Hopkins (RETIRED) gentoo-dev 2005-05-25 04:28:33 UTC
xorg-x11 used hard-coded paths in it's pam.d modules (/lib/security/module.so). This causes problem on multilib systems and on gentoo/fbsd as the pam modules are not stored there (works atm on amd64 due to out hacky lib -> lib64 symlink but this will be removed at some point). The full path is not needed here as pam will locate the module in it's standard path (set at pam compile time) if the module is listed without.

In short please just
sed -i 's:/lib/security/::' files/{xserver,xdm}.pamd
and everyone should be happy.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-29 22:37:57 UTC
Does this bring in any dependency on a minimal version of pam for this to work?
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-29 23:08:04 UTC
Fixed in 6.8.2-r2, 6.8.99.8. Leaving open, pending a response to comment #1.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-30 02:15:55 UTC
No, all pam versions in portage responds in the same way to modules without 
fullpath. 
 
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-30 02:25:10 UTC
Thanks for the quick response =)