Ticket #190 (closed defect: fixed)
Removing debathena-counterlog mails root once a day
Reported by: | xavid | Owned by: | broder |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | -- | Keywords: | proposed |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
Removing debathena-counterlog doesn't really do anything, because /etc/cron.daily/debathena-counterlog, being a conf file, doesn't get removed. Moreover, if you also remove its dependencies, like machtype, this leads to it sending mail to root once a day. Solutions that occur to me include removing /etc/cron.daily/debathena-counterlog if it's unmodified or putting some sort of check there so it doesn't run if it would cause an error. Removing it would be best, but I'm not sure how that's viewed in the debian way of life.
Change History
Note: See
TracTickets for help on using
tickets.
It seems like the easiest thing to do is to move the code from /etc/cron.daily/debathena-counterlog into, say, /usr/sbin/debathena-counterlog or something, and then the cron script just runs /usr/sbin/debathena-counterlog if it exists. Removing the package would remove /usr/sbin/debathena-counterlog, thus solving the problem.