unconditionally starts DenyHosts as a daemon in /etc/logrotate.d/denyhosts

Bug #706516 reported by Sascha Silbe
6
This bug affects 1 person
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.d/denyhosts
/var/log/denyhosts {
        create 0640 root adm
        missingok
        weekly
        rotate 7
        compress
        postrotate
                /etc/init.d/denyhosts restart > /dev/null
        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.

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.