Bug 1252558
Summary: | openldap update from 2.4.39 to 2.4.40 causes blank database | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Striker Leggette <striker> |
Component: | openldap | Assignee: | Matus Honek <mhonek> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.6 | CC: | ebenes, jsynacek, rh |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-11 18:08:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Striker Leggette
2015-08-11 16:50:42 UTC
Closing this as I am unable to reproduce with multiple attempts. I also encountered this issue. I tracked it down to this block from the preinstall script from the RPM (rpm -q --scripts openldap-servers): # move or copy to backup directory find -maxdepth 1 -type f \( -name alock -o -name "*.bdb" -o -name "__db.*" -o -name "log.*" \) \ | xargs -I '{}' $backupcmd '{}' $backupdir cp -af DB_CONFIG $backupdir &>/dev/null So basically, the databases files from /var/lib/ldap get backed up to /var/lib/ldap/backup.NNNNNNNNNNN/ if the openldap version number changes. I found this a bit unsettling from a user point of view. Maybe could a notice get printed out to warn the user ? Striker, what do you think ? Can this bugreport maybe be reopened with wishlist severity ? Thanks ! Marc, so that you are aware, a new BZ was opened for RFE to add notification of the database backup: https://bugzilla.redhat.com/show_bug.cgi?id=1261651 |