[Pkg-openldap-devel] Bug#330695: libldap2: /etc/ldap/ldap.conf breaks multiarch and on soname change

Russ Allbery rra at debian.org
Mon Jul 14 02:47:31 UTC 2008


Goswin von Brederlow <brederlo at informatik.uni-tuebingen.de> writes:

> If you write the file in postinst (then probably using ucf) you would
> have to remove the file in postrm on purge. But if lidldap2 and libldap3
> are installed and libldap2 is purged the conffile must remain. Same
> under multiarch if libldap2:i386 and libldap2:amd64 are installed and
> one is purged.
>
> Currently a file just can't belong to 2 packages without causing
> problems.

I see that we're indeed still shipping /etc/ldap/ldap.conf in the library
package.  This is a Policy violation (8.2); we really should do something
about it.

All values are commented-out in the default version and the library seems
to run fine if the file is missing entirely.  I propose we just move the
file into /usr/share/doc/libldap-2.4-2/examples and mention it in
README.Debian.  Any objections?

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





More information about the Pkg-openldap-devel mailing list