[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Upgrade Ubuntu server will purge OpenLDAP data



At Sun, 21 Dec 2014 23:14:42 +0100 [** ISO-8859-1 charset **] Michael Ströder<michael@stroeder.com> wrote:

> 
> 
> Florian Weimer wrote:
> > * Onno van der Straaten:
> > 
> >> Ubuntu server upgrade from 12.04 to 14.04 LTS will purge the OpenLDAP
> >> directory data.
> > 
> > Is there an Ubuntu bug for this behavior?  It's a bit odd.
> 
> One should generally be careful with system upgrades.

Esp. major version jumps.

> 
> AFAIK on-disk-format might change because of Berkeley-DB version upgrade.

Which suggests that one needs to dump the 12.04 database (to ldif text format)
and then reload it into the fresh 14.04 database.

(This is what I did when I upgraded a old server running CentOS 5 to a new 
server running CentOS 6.)

> 
> But without knowing about the backend configuration used it's impossible to
> track this down.

This is the reason *RedHat* Enterprise Linux is never recomended to do
upgrades across major versions. The recomended practice is allways a fresh
install. (Of course, RHEL has a much longer lifetime and package APIs
generally make a *big* jump.) Ubuntu has a shorter life span, so things
*generally* don't make such a big jump, but it looks like that is not always
the case.

> 
> Ciao, Michael. (not an Ubuntu user)
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services