Hi, Here is a simple fix for this bug, both ceph-common and ceph-base delete 'etc/ceph' on purge in their postrm script but only ceph-common owns files in this directory. Just remove the cleanup code from the ceph-base postrm script.
Cheers, Michael
>From bb8312996cf030e0846f458009558b42145a6061 Mon Sep 17 00:00:00 2001 From: Michael Jeanson <mjean...@efficios.com> Date: Thu, 14 Sep 2017 15:28:51 -0400 Subject: [PATCH] Don't clean dirs on postrm in ceph-base (Closes: #867465) Cleanup of the /etc/ceph directory on purge is already handled by ceph-common which owns files in the directory. --- debian/ceph-base.postrm | 2 -- 1 file changed, 2 deletions(-) diff --git a/debian/ceph-base.postrm b/debian/ceph-base.postrm index 48e4853c0..31272029c 100644 --- a/debian/ceph-base.postrm +++ b/debian/ceph-base.postrm @@ -24,8 +24,6 @@ case "$1" in ;; purge) - rm -rf /var/log/ceph - rm -rf /etc/ceph ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) -- 2.14.1