Package: collectd
Version: 4.10.1-2.1
Severity: critical

Recently I "apt-get remove collectd-core" and manually installed
collectd for its git repo.  Later, I found that /etc/collection.conf
was still around, so I did "dpkg -P collectd-core".  To my surprise, I
found that collectd-core's postrm purge script deletes, WITHOUT ANY
PROMPTING OR WARNING, all my rrd databases and collectd configuration.

This is *not cool*.  I suppose it's reasonable to clean up /var/lib
after oneself, but collectd-core should follow the example of RDBMSs
and ask the user (via debconf) for confirmation before doing so.

PS: actually the purge postrm failed in my case, I think because some
of the RRDs were still open by the collectd process.  But it's
definitely deleted all my /var/lib/collectd/rrd_YYYY-MM-DD.sq backups.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to