Bug 212997

Summary: upgrade FC5 to FC6 openldap-server failed
Product: [Fedora] Fedora Reporter: Brian Millett <bmillett>
Component: openldapAssignee: Jan Safranek <jsafrane>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-28 08:41:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.