denyhosts is stopped prior to rotating the logs, then started again after rotating the logs. When cronjob output is emailed, this means email about the restarting. IMO the start/stop should be silent, and the logrotate should be updated to add the -q option to the init.d script command-line. Do you agree? I'm happy to patch it myself.
Please post your patch here and feel free to commit with revbump.
Pretty much just this: Index: files/denyhosts.logrotate =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-admin/denyhosts/files/denyhosts.logrotate,v retrieving revision 1.2 diff -u -B -r1.2 denyhosts.logrotate --- files/denyhosts.logrotate 1 Jun 2010 18:06:38 -0000 1.2 +++ files/denyhosts.logrotate 6 Feb 2012 13:37:30 -0000 @@ -4,9 +4,9 @@ create 0640 root root sharedscripts prerotate - /etc/init.d/denyhosts stop + /etc/init.d/denyhosts stop -q endscript postrotate - /etc/init.d/denyhosts start + /etc/init.d/denyhosts start -q endscript } Please confirm, and I'll commit it with revbump to -r6.
wfm
+ 26 Feb 2012; Jeremy Olexa <darkside@gentoo.org> files/denyhosts.logrotate: + silence logrotate script, bug 402275 by Dirkjan Ochtman
Heh, sorry I didn't follow through. Was about to do it today...