From d80f5e30467c02a749cd6e67f0c2302f7bf1df3f Mon Sep 17 00:00:00 2001 From: Timo Aaltonen Date: Wed, 4 Mar 2015 12:17:56 +0200 Subject: [PATCH] freeipa-client.postrm: Remove nssdb files on purge. (Closes: #775387) --- debian/changelog | 2 ++ debian/freeipa-client.postrm | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index bc342ff00..4a3f285fc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ freeipa (4.0.5-3) UNRELEASED; urgency=medium * rules: Set JAVA_STACK_SIZE to hopefully avoid FTBFS on exotic archs. + * freeipa-client.postrm: Remove nssdb files on purge. (Closes: + #775387) -- Timo Aaltonen Wed, 04 Mar 2015 12:11:12 +0200 diff --git a/debian/freeipa-client.postrm b/debian/freeipa-client.postrm index 40ef05475..678ff10cc 100644 --- a/debian/freeipa-client.postrm +++ b/debian/freeipa-client.postrm @@ -4,6 +4,10 @@ set -e if [ "$1" = purge ]; then rm -rf /var/lib/ipa-client rm -f /etc/ipa/default.conf + rm -f /etc/pki/nssdb/cert8.db \ + /etc/pki/nssdb/key3.db \ + /etc/pki/nssdb/secmod.db + rmdir /etc/pki/nssdb fi #DEBHELPER#