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

Bug 456862

Summary: net-nds/openldap-2.4.30[gnutls] is crashing
Product: Gentoo Linux Reporter: bsod
Component: [OLD] LibraryAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Example for the crash

Description bsod 2013-02-11 22:22:39 UTC
When openldap on hardened(?) gentoo is build with the gnutls use flag compile will work but ldap will not start.
If you use ldap in nsswitch.conf emerge will not work anymore until you remove ldap from nsswitch.conf.

Reproducible: Always

Steps to Reproduce:
1.compile openldap-2.4.30 (the latest stable release) with the gnutls use flag
2.try to do anything with ldap that requires tls (start ldap server, connect to ldap server) and it will crash




As a workaround you have to disable the gnutls use flag. Some other packages often depend on it than you basically have to remove ldap support from them.
Comment 1 bsod 2013-02-11 22:23:54 UTC
Created attachment 338648 [details]
emerge --info
Comment 2 bsod 2013-02-11 22:25:45 UTC
Created attachment 338650 [details]
Example for the crash

This is the crash you are seeing when ldap is enabled in nsswitch.conf.
Basically this shuts down every emerge!
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-13 18:54:31 UTC
Not sure whether this is in sys-auth/nss_ldap (the crash refers to /lib64/libnss_ldap.so.2) or net-nds/openldap
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-10-12 06:34:41 UTC
Rebuild your system with a consistent version of gnutls.
Don't link one thing to old gnutls, and something else to new gnutls.