database doesn't get purged during purge
Bug #694707 reported by
dnmvisser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
When documenting the installation of slapd on Lucid, I often need to go back to a clean default install. I do this by:
apt-get -y purge slapd && apt-get install slapd
It seems that purging does not remove /var/lib/ldap, so after re-installation old database stuff is hanging around.
Hence, you receive all kinds of 'duplicate' warnings when trying to add things to an alleged 'clean' install.
Expected behavior: 'apt-get purge slapd' purges everything, including /var/lib/ldap.
FYI, this is the only ldap related package I had installed, so /var/lib/ldap is not used by other packages.
description: | updated |
Changed in openldap (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
There is a debconf question about purge:
Template: slapd/purge_ database
Type: boolean
Default: false
Description: Do you want the database to be removed when slapd is purged?
Note that false is the default. Was it changed to true before purging?