Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79024 - pam as provided by emul-linux-x86-baselibs is broken
Summary: pam as provided by emul-linux-x86-baselibs is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 84733 93159 93163 93174 93179 93183 93186 93203 93317 93920
Blocks:
  Show dependency tree
 
Reported: 2005-01-21 17:23 UTC by Caleb Shay
Modified: 2005-07-02 02:42 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 Caleb Shay 2005-01-21 17:23:32 UTC
The libpam that is provided by emul-linux-x86-baselibs has the path to the security modules set as /lib/security.  Obviously, this isn't going to work since the libs in /lib/security are 64 bit.  Any 32-bit program that uses pam is going to fail.  The fix is relatively trivial.

1) When building pam for emul-linux-x86-baselibs, add the configure flag "--enable-isadir=/lib32/security"
2) Actually include the /lib32/security libs in the package (currently the libpam does not include any of the actual security libs)
3) Work with the maintainer of sys-libs/pam to have /etc/pam.d/* modified to just list the libs not the full path.  Applications linked against pam will automatically find the right security directory based on the libpam they are linked against (/lib/libpam.so or /lib32/libpam.so).  This is the recommended method for handling multilib systems according to the pam documentation.
4) Other applications that install files into /etc/pam.d should also be updated to only uses the lib name and not the full path.  On my machine this includes x11-base/xorg-x11, sys-apps/shadow, gnome-base/gdm, net-fs/samba, and net-print/cups.  There are undoubtedly others.
Comment 1 stonie 2005-03-20 10:13:19 UTC
are there any improvements done here?
is somebody working on this anyway?
thx, for your contributions.....
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-03-27 09:35:00 UTC
I will have a look.
Comment 3 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-16 06:46:52 UTC
1. and 2. should be taken care of by emul-..-baselibs-2.0. Reassigning to pam-bugs@g.o. - Would 3. cause probs anywhere else?
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-24 14:55:26 UTC
Some of the packages are already fixed, as I'm fixing them also for  
Gentoo/FreeBSD compatibility. 
 
The others are mainly in that list, tomorrow I'll take care of the remaining  
ones and of opening bugs for the maintainers of them. 
 
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-07-02 02:42:51 UTC
All the bugs listed are now fixed, anyway I'm taking care of all the packages 
which uses /lib/security that I find.