[Pkg-db-devel] Bug#316389: Please add the transactions patch to db4.2

Peter Marschall Peter Marschall <peter@adpm.de>, 316389@bugs.debian.org
Sun, 10 Jul 2005 17:27:39 +0200


Hi,

On Sunday 03 July 2005 19:43, Florian Weimer wrote:
> * Peter Marschall:
> > You may find further finormation about this patch on Standord's
> > Directory pages where it was first published (accoeding to my
> > knowledge):
> > http://www.stanford.edu/services/directory/openldap/configuration/openlda
> >p-build-42.html
>
> The patch does not include any documentation.  What does it do?
> Has Sleepycat included it in later versions?

the patch is also available via: 
http://www.openldap.org/devel/cvsweb.cgi/build/

The version there contains the following documentation:

    This patch is intended to be applied to Berkeley DB 4.2.52 and,
    if applied, will automatically be used by slapd(8) back-bdb/hdb.
    Without this patch the BDB DB_LOG_AUTOREMOVE option will not work,
    nor will db_archive allow any transaction log files to be removed
    while slapd is running.

    The patch can be applied to the BDB source using patch(1) as follows
	cd db-4.2.52
	patch -p0 < openldap-src/build/BerkeleyDB42.patch

    (modify directory paths as necessary), then recompile and reinstall
    the BerkeleyDB 4.2 library, and then build and install OpenLDAP
    Software.

    The patch should not be applied to Berkeley DB 4.3.

Further information can be found in the openLDAP FAQ-O-Matic:
    http://www.openldap.org/faq/index.cgi?file=44

I am using this patch with my privately built db4.2 and openldap2.2
for several months without experiencing any problems (neither with openldap 
that makes use of this patch nor with other applications that use db4.2).

At Stanford this patch is in use even longer (this is where I got it from)
and Stanford's OpenLDAP maintainer who is very active on the OpenLDAP
mailing list did not mention any problems at all.

CU
Peter

-- 
Peter Marschall
eMail: peter@adpm.de