app-admin/denyhosts, by default, writes logs to /var/log/denyhosts. It should therefore install some logrotate configuration. Attached is the config I made. It should be noted that this is only useful for when denyhosts is being run in daemon mode. As it appears to ignore HUP (and as per upstream example), denyhosts needs to be stopped, log rotated, then started again - a problem for those not running as a daemon. I tried to factor this into the configuration by only stopping the daemon if it was running (if [ -f /var/run/denyhosts.pid ]), however I wasn't sure how determine if it should be started up again or not.
Created attachment 194807 [details] basic logrotate config file for denyhosts
same as #310631
same as bug #310631
*** Bug 310631 has been marked as a duplicate of this bug. ***
Thanks, in denyhosts-2.6-r2