Unable to migrate Intrepid configuration to Jaunty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I'm upgrading my server from Intrepid to Jaunty. Straight upgrade, nothing fancy. It should just work.
Note : etckeeper was misconfigured and I ctrl+c the first upgrade attempt. It's the only bad thing I did (and I should be allowed to do so).
Then, the whole upgrade failed on slapd because :
Setting up slapd (2.4.15-1ubuntu3) ...
Backing up /etc/ldap/
Moving old database directories to /var/backups:
Backup path /var/backups/
dpkg: error processing slapd (--configure):
Ok, I removed the backup (and I have to remove it at each attempt ! This is an incridibly stupid upgrade script)
Setting up slapd (2.4.15-1ubuntu3) ...
Backing up /etc/ldap/
Moving old database directories to /var/backups:
- directory dc=ploum,dc=net... done.
Loading from /var/backups/
Directory /var/lib/ldap for dc=ploum,dc=net not empty, aborting.
dpkg: error processing slapd (--configure):
WTF ? I then emptied the folder by hand (I of course keep a backup)
Setting up slapd (2.4.15-1ubuntu3) ...
Backing up /etc/ldap/
Moving old database directories to /var/backups:
- directory dc=ploum,dc=net... done.
Loading from /var/backups/
- directory dc=ploum,dc=net... failed.
Loading the database from the LDIF dump failed with the following
error while running slapadd:
ldif_read_file: Not a directory for "/etc/ldap/
slapadd: bad configuration directory!
dpkg: error processing slapd (--configure):
Ok, Now I'm there, stuck in the middle of the upgrade not understanding what to do and, more importantly, what that script want to do.
As I have a relatively simple ldap setup, I think the upgrade could be crazy for more complex stuffs.
Changed in openldap (Ubuntu): | |
assignee: | nobody → Ubuntu Server Team (ubuntu-server) |
Changed in openldap (Ubuntu): | |
status: | Confirmed → Triaged |
I think it has to do with a config format change that happened a while back. I was proposed to change my config format during an upgrade. I refused and now everything seems to be broken.