[Pkg-openldap-devel] Bug#340601: ldapsearch hangs when using ldap for /etc/hosts

Russ Allbery rra at debian.org
Tue Feb 12 08:03:42 UTC 2008


Russ Allbery <rra at debian.org> writes:

> Quick question here: Do you (or anyone else on the list) know what Red
> Hat does with all of these software packages, many of which they also
> ship?  Are they also ignoring upstream and linking to libldap_r, or are
> they doing something else?

Red Hat statically links nss-ldap.  That explains a lot.  I bet they're
just living with all the other (less common) library conflicts.  I wonder
if they statically link pam-ldap as well, since that's the other major
source.

(Thanks to Quanah for the investigation.)

So, the other thought that occurred to me: what if libldap and libldap_r
both had symbol versioning with different versions?  In that case, they
should be able to share process namespace with each other, which would
avoid the problem of libldap getting sucked into slapd's namespace via,
say, back-perl and would also let the problems of any package that chooses
to link directly to libldap_r be only the problems of that package and not
more general library conflict problems.

-- 
Russ Allbery (rra at debian.org)               <http://www.eyrie.org/~eagle/>





More information about the Pkg-openldap-devel mailing list