I would like to add that removing log files (/var/log/ceph is also
removed on uninstall) is also a bad thing.
My suggestion would be to simply drop the whole %postun trigger, since
it does only these two very questionable things.
Thanks,
Erik.
On 10/22/2014 09:16 PM, Dmitry Borodaenko wrote:
>
Current version of RPM spec for Ceph removes the whole /etc/ceph
directory on uninstall:
https://github.com/ceph/ceph/blob/master/ceph.spec.in#L557-L562
I don't think contents of /etc/ceph is disposable and should be
silently discarded like that.
--
Dmitry Borodaenko