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

Bug 298539

Summary: sys-auth/tcb broken pam_tcb.so
Product: Gentoo Linux Reporter: Paweł Hajdan, Jr. (RETIRED) <phajdan.jr>
Component: [OLD] Core systemAssignee: PAM Gentoo Team (OBSOLETE) <pam-bugs+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 298509    
Bug Blocks:    
Attachments: patch for the tcb ebuild
tcb-xcrypt.patch

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.