[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
** Changed in: openldap (Ubuntu) Status: Confirmed = Triaged -- Unable to migrate Intrepid configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
I've been able to eventually migrate to Jaunty slapd. As I was expecting, it was not configuration related because slaptest -u would told me that my config fil was fine. Here are the step I followed : 1) Stop slapd. Backup and remove /etc/ldap and /var/lib/ldap. With them, upgrade is impossible for reasons I don't understand. 2) upgrade packages with apt 3) stop slapd. 4) restore /etc/ldap and /var/lib/ldap 5) remove /var/lib/ldap/log.1 (no need to backup it) 6) cd /var/lib/ldap then run db4.6_restore -h . -v At this point, it will tell you that 4.7 is the environement version. 7) Run once again db4.6_restore -h . -v You have to run it at least twice, else it doesn't work. 8) chown openldap:openldap log.1 9) Start ldap, your migration is now over. The bugs are the following : A) The install script of the slapd package seems completely crazy when dealing with an existing installation. It backup everything in strange ways and fails miserably if not everything is like expected. It should be more defensive. B) slapd should be able to restore by itself a database when the log file is missing. It was the case with the slapd in intrepid, I've no idea why it's not working anymore in jaunty -- Unable to migrate Intrepid configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
** Changed in: openldap (Ubuntu) Assignee: (unassigned) = Ubuntu Server Team (ubuntu-server) -- Unable to migrate Intrepid configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
Please don't assign the ubuntu-server team to bugs as it doesn't help track things. Thank you. ** Changed in: openldap (Ubuntu) Assignee: Ubuntu Server Team (ubuntu-server) = (unassigned) -- Unable to migrate Intrepid configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
Changing the title as Salik seems to report that it's not related to slapd.conf at all. Is there any news on this issue or anything we should test ? It will be time to migrate to Karmic soon and we are still using intrepid packages. ** Summary changed: - Unable to migrate Intrepid slapd.conf configuration to Jaunty + Unable to migrate Intrepid configuration to Jaunty -- Unable to migrate Intrepid configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
The workaround for now is to keep the following packages from intrepid : ldap-utils libldap-2.4-2 slapd Any attempt to upgrade those packages will break the configuration. ** Summary changed: - Incredibly painful Jaunty upgrade + Unable to migrate Intrepid configuration to Jaunty -- Unable to migrate Intrepid configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap2.3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 364531] Re: Unable to migrate Intrepid configuration to Jaunty
As you've mentioned you're using slapd.conf instead of the dynamic cn=config backend. Only the latter is supported by the package. It seems that the upgrade script should fail with a more explicit error - however slapd.conf isn't supported anymore. ** Package changed: openldap2.3 (Ubuntu) = openldap (Ubuntu) ** Changed in: openldap (Ubuntu) Importance: Undecided = Medium ** Changed in: openldap (Ubuntu) Status: New = Confirmed ** Summary changed: - Unable to migrate Intrepid configuration to Jaunty + Unable to migrate Intrepid slapd.conf configuration to Jaunty -- Unable to migrate Intrepid slapd.conf configuration to Jaunty https://bugs.launchpad.net/bugs/364531 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs