[Pkg-openldap-devel] Bug#598361: Cause of this issue
Klaus Flittner
klaus at flittner.org
Thu Nov 25 19:42:30 UTC 2010
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.
Regards,
Klaus
More information about the Pkg-openldap-devel
mailing list