[Pkg-openldap-devel] Bug#598361: Bug#598361: Cause of this issue
Quanah Gibson-Mount
quanah at zimbra.com
Mon Nov 29 16:56:58 UTC 2010
--On Thursday, November 25, 2010 8:42 PM +0100 Klaus Flittner
<klaus at flittner.org> wrote:
> I have the same issue on each debian squeeze installation.
>
> Looking at the source revealed, that the backend db is opened before
> the process is forked. (This is a patch added to solve #589915).
>
> During open of the db the alock file gets locked. But this lock is lost
> during fork and therefore the db is seen as unclean and not as used.
>
> Removing the said patch, slapcat with running slapd works as expected.
>
> Since the db is no longer locked while slapd is running, all tools like
> slapindex can be used on the database, potentially corrupting it.
> This probably justifies a higher severity for this bug.
Thanks for finding the cause. This is clearly a Debian inflicted issue
then.
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
More information about the Pkg-openldap-devel
mailing list