cacti uninstall doesn't remove poller cron
Bug #365851 reported by
Micah Gersten
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.
500 http://
100 /var/lib/
When I uninstalled cacti, I expected the poller cron to be removed. It was not:
Apr 23 23:10:01 <redacted_name> /USR/SBIN/
To post a comment you must log in.
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: {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.
"""
As noted elsewhere, /etc/init.d scripts, /etc/default files, scripts installed in /etc/cron.
"""
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