Bug 240111 - openldap-servers-2.3.30-2.fc6 eats your database
Summary: openldap-servers-2.3.30-2.fc6 eats your database
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 6
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jan Safranek
QA Contact:
URL:
Whiteboard:
: 240136 240849 240925 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-15 09:35 UTC by Pierre Ossman
Modified: 2007-11-30 22:12 UTC (History)
3 users (show)

Fixed In Version: openldap-servers-2.3.30-2.fc6
Clone Of:
Environment:
Last Closed: 2007-05-15 10:15:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pierre Ossman 2007-05-15 09:35:18 UTC
WTF guys!

The nightly upgrade to openldap-servers-2.3.30-2.fc6 decided to eat my database.
I assume there is some compatibility issue as it moved all the files to an
"rpmorig" subdirectory. No harm no foul there, but it then proceded to
initialise a blank database and start that.

So for the last 6 hours (befote I got wind of this) the incoming mail server has
been tossing out every mail with "user unknown". I.e. a permanent error so those
mail are forever gone.

If you include an automatic update service, I expect to be able to use it. A
downed server would be okay, a running blank database that causes lost mail is not.

My problem is of course solved, but you really need to be more careful in the
future with how your packets upgrade. At least when it comes to a critical
component like this.

Comment 1 Jan Safranek 2007-05-15 10:15:46 UTC
I copletelly aggree with you, unfortunatelly this bug is caused by wrong
%preun/%postun in the previus release (openldap-servers-2.3.27-4), which were
executed just now. See bug #230959 - it's the same bug, but for rawhide, so the
version numbers are different.

Just copy the database from /var/lib/ldap/rpmorig to /var/lib/ to restore your db.

Updates _from_ openldap-servers-2.3.30-2.fc6 to newer version should be ok.

Comment 2 Jan Safranek 2007-05-15 14:44:26 UTC
*** Bug 240136 has been marked as a duplicate of this bug. ***

Comment 3 Jan Safranek 2007-05-22 11:57:57 UTC
*** Bug 240849 has been marked as a duplicate of this bug. ***

Comment 4 Jan Safranek 2007-05-23 06:45:47 UTC
*** Bug 240925 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.