Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93920 - xorg-x11 uses hard-coded paths in it's pam.d modules
Summary: xorg-x11 uses hard-coded paths in it's pam.d modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 79024 93119
  Show dependency tree
 
Reported: 2005-05-25 04:28 UTC by Herbie Hopkins (RETIRED)
Modified: 2005-05-30 02:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 =)