[Pkg-clamav-devel] Bug#518628: Bug#518628: clamav-milter: log rotation is broken/missing

Stephen Gran sgran at debian.org
Sun Mar 8 12:33:01 UTC 2009


This one time, at band camp, Robert McQueen said:
> I've only got the clamav-milter package installed, and not
> clamav-daemon, and I noticed today when configuring munin that my
> /var/log/clamav/clamav.log file is written to by clamav-milter, but is
> not being logrotated. I made a file like this:
> 
> root at sigma:~# cat /etc/logrotate.d/clamav-milter 
> /var/log/clamav/clamav.log {
> 	rotate 12
> 	weekly
> 	compress
> 	delaycompress
> 	create 640 clamav adm
> 	postrotate
> 		pkill -USR1 -o clamav-milter 
> 	endscript
> }
> 
> This seemed to work on my system, but I guess this really means
> logrotate file should be in the clamav-base package with the missingok
> keyword in case neither the daemon nor the milter are installed.

Thanks for the report.  I'm looking over 0.95 rc1 now, and it looks like
the milter is going to ship it's own config file (finally!) with logging
options in it.  So for 0.95, we're likely to ship a clamav-milter.log
and a logrotate file for that.  Expect 0.95 in the next few weeks.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20090308/94b1750f/attachment.pgp 


More information about the Pkg-clamav-devel mailing list