Public bug reported:

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.

** Affects: denyhosts (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706516

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to