Bug 212997 - upgrade FC5 to FC6 openldap-server failed
Summary: upgrade FC5 to FC6 openldap-server failed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan Safranek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-30 15:06 UTC by Brian Millett
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-28 08:41:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Brian Millett 2006-10-30 15:06:50 UTC
Description of problem:

upgrading FC5 to FC6 with the DVD failed to upgrade/update the openldap-server
package
Version-Release number of selected component (if applicable):


How reproducible: Well, just once.  Don't want to upgrade every time to test.


Steps to Reproduce:
1. Run FC5
2. Boot FC6 dvd
3. read /root/upgrade.log
  
Actual results:

Upgrading openldap-servers - 2.3.27-4.i386
=> bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already
exists (-30996)
=> bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists
(-30996)
slapadd: could not add entry dn="listName=momillett.org" (line=12): txn_aborted!
DB_KEYEXIST: Key/data pair already exists (-30996)

Expected results:

To have worked

Additional info:

Comment 1 Brian Millett 2006-10-30 15:35:36 UTC
Some additional notes.  I do not, nor ever used nss_ldap.  It was loaded.  I
removed it and ran this from the postinstall script:

/sbin/runuser -m -s /usr/sbin/slapadd -- "ldap" -l /var/lib/ldap/upgrade.ldif

And it loaded and the address book is back.
Don't know why it wanted to load/install a nss_ldap module that was not
installed in the first place.

Comment 2 Jan Safranek 2007-05-28 08:41:53 UTC
I do not know why nss_ldap was installed, but I am pretty sure it did not cause
your problems. The rpm update scripts in recend openldap releases were quite
buggy and it could happen that the upgrade.ldif was not correctly applied.
Recent rawhide version should be much better.


Note You need to log in before you can comment on or make changes to this bug.