unconditionally starts DenyHosts as a daemon in /etc/logrotate.d/denyhosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
denyhosts (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: denyhosts
We run DenyHosts as a cron job and have deactivated the DenyHosts daemon using update-rc.d and insserv.
Every once in a while, DenyHosts gets started in daemon mode anyway and causes the cron jobs to fail. Today I finally figured out why:
sunjammer:/etc# cat logrotate.
/var/log/denyhosts {
create 0640 root adm
missingok
weekly
rotate 7
compress
postrotate
endscript
}
sunjammer:/etc#
Not only does it use /etc/init.d/<foo> directly instead of calling invoke-rc.d, but it also starts a daemon that has been explicitly configured not to start.