[Pkg-openldap-devel] Upgrades fail due to checkpoint directive

Russ Allbery rra at debian.org
Fri Dec 21 23:31:37 UTC 2007


The current slapd package writes a checkpoint configuration directive
directly after the backend directive for bdb:

    backend bdb
    checkpoint 512 30

OpenLDAP 2.4.7 can't cope with this:

  Loading from /var/backups/slapd-2.3.38-1: 
  - directory dc=stanford,dc=edu... failed.

Loading the database from the LDIF dump failed with the following
error while running slapadd:
    /etc/ldap/slapd.conf: line 42: unknown directive <checkpoint> outside backend info and database definitions.
    slapadd: bad configuration file!

Deleting the checkpoint configuration setting fixes the problem, as does
moving it below the database and suffix settings.

This is pretty bad.  I'm not sure what to do about this.  We could just
remove checkpoint completely from the configuration, but my understanding
is that it's important.  Trying to figure out how to move it around in an
arbitrary configuration file is going to be fairly hard.

Why did upstream make this change?  Was it actually intentional?

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



More information about the Pkg-openldap-devel mailing list