Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298539 - sys-auth/tcb broken pam_tcb.so
Summary: sys-auth/tcb broken pam_tcb.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on: 298509
Blocks:
  Show dependency tree
 
Reported: 2009-12-27 15:00 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2010-01-12 18:00 UTC (History)
0 users

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


Attachments
patch for the tcb ebuild (ebuild.patch,492 bytes, patch)
2009-12-27 16:34 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff
tcb-xcrypt.patch (tcb-xcrypt.patch,1.48 KB, patch)
2009-12-27 16:34 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2009-12-27 15:00:51 UTC
When trying to use the module, I get the following output in the logs:

Dec 27 15:57:02 localhost su[1634]: PAM unable to dlopen(/lib/security/pam_tcb.so): /lib/security/pam_tcb.so: undefined symbol: crypt_ra
Dec 27 15:57:02 localhost su[1634]: PAM adding faulty module: /lib/security/pam_tcb.so
Dec 27 15:57:02 localhost su[1634]: pam_authenticate: Module is unknown

Steps to repro:
1. emerge sys-apps/tcb-1.0-r1 with USE="pam"
2. Replace pam_unix.so with pam_tcb.so in /etc/pam.d/system-auth
3. Try to use su from regular user previously able to use su

Expected result: su works
Actual result: su doesn't work, pam_tcb.so cannot be loaded
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2009-12-27 16:34:12 UTC
Created attachment 214319 [details, diff]
patch for the tcb ebuild
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2009-12-27 16:34:45 UTC
Created attachment 214320 [details, diff]
tcb-xcrypt.patch

patch used inside the new ebuild
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2009-12-27 16:36:02 UTC
Attached patches make sys-auth/tcb link correctly with xcrypt which provides needed functions for it.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-01-12 18:00:51 UTC
Fixed in CVS.