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
Created attachment 214319 [details, diff] patch for the tcb ebuild
Created attachment 214320 [details, diff] tcb-xcrypt.patch patch used inside the new ebuild
Attached patches make sys-auth/tcb link correctly with xcrypt which provides needed functions for it.
Fixed in CVS.