slapd upgrade to jaunty tries to dump non local databases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
during intrepid to jaunty upgrade,
if you have configured non hdb databases (for eg a "ldap" database using the ldap backend), the preinstallation script tries to dump this remote DB and of course fails :
Preparing to replace slapd 2.4.11-0ubuntu6.1 (using .../slapd_
Stopping OpenLDAP: slapd.
Dumping to /var/backups/
- directory $mylocaldatabase... done.
- directory dc=some,
failed.
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Backing up /etc/ldap/slapd.d/ in /var/backups/
Starting OpenLDAP: slapd.
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
solution:
the upgrade script should check that dumped databases are local ;)
Cheers,
Mik
Changed in openldap (Ubuntu): | |
status: | Incomplete → Confirmed |
importance: | Undecided → Medium |
Changed in openldap (Ubuntu): | |
status: | Confirmed → Triaged |
Hi,
Thanks for the bug report. I think this will be considered for karmic+1.
Regards
chuck