database doesn't get purged during purge

Bug #694707 reported by dnmvisser
6
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.

dnmvisser (dnmvisser)
description: updated
Chuck Short (zulcss)
Changed in openldap (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Ryan Tandy (rtandy) wrote :

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?

Changed in openldap (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openldap (Ubuntu) because there has been no activity for 60 days.]

Changed in openldap (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.