cacti uninstall doesn't remove poller cron

Bug #365851 reported by Micah Gersten
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cacti (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: cacti

Description: Ubuntu 9.04
Release: 9.04

cacti:
  Installed: (none)
  Candidate: 0.8.7b-2.1ubuntu2
  Version table:
     0.8.7b-2.1ubuntu2 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

When I uninstalled cacti, I expected the poller cron to be removed. It was not:
Apr 23 23:10:01 <redacted_name> /USR/SBIN/CRON[11412]: (www-data) CMD (php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log)

Revision history for this message
Paul Gevers (paul-climbing) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

If I look at the Debian policy section 10.7 [1] it says:
"""
As noted elsewhere, /etc/init.d scripts, /etc/default files, scripts installed in /etc/cron.{hourly,daily,weekly,monthly}, and cron configuration installed in /etc/cron.d must be treated as configuration files. In general, any script that embeds configuration information is de-facto a configuration file and should be treated as such.
"""
Furthermore in 10.7.3:
"""
configuration files must be preserved when the package is removed, and only deleted when the package is purged.
"""

So I believe this is intended behavior. Please correct me if I am wrong. If you want the cron job to be removed, purge the package instead of only uninstalling it.

[1] http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files

Changed in cacti (Ubuntu):
status: New → Invalid
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.