[Pkg-openldap-devel] Bug#462099: Bug#462099: Bug#462099: slapd: Fails to upgrade to 2.4.7, assertion failed in slapadd

Steve Langasek vorlon at debian.org
Tue Jan 29 20:16:03 UTC 2008


On Fri, Jan 25, 2008 at 01:37:50PM -0800, Quanah Gibson-Mount wrote:
> --On Friday, January 25, 2008 4:44 PM +0100 Joerg Delker <joerg at delker.de> 
> wrote:

> > I'm having the same problem after upgrading to slapd 2.4.7-3.

> > Please consider this bug "grave", as it renders slapd completely
> > unusable after upgrade.

> I suppose the debian upgrade could strip out the entryCSN values on prior 
> to running slapadd if they have the ancient syntax.  Of course, that was 
> the recommended procedure for going from 2.1 -> 2.2 and 2.2 -> 2.3, IIRC. 
> I guess it just was never handled in the debian upgrades. :/

Right, we've generally only handled changes on upgrade that are required
because of feature obsoletion. :)

Rather than stripping the entryCSN values out, wouldn't it be preferable to
convert them to the current syntax?  This seems to be fairly
straightforward; convert any /^0x/ in the second field to 00, and zero-pad
the third field to two bytes?

Luigi, to your question of wanting a workaround for importing the directory,
I believe if you make these adjustments to the ldif file under /var/backups
by hand, you should be able to continue with the package upgrade.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-openldap-devel mailing list