[Pkg-clamav-devel] Bug#669287: clamav-daemon: if clamd is not running with userid clamav logrotate will go wrong

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Wed Mar 19 20:51:07 UTC 2014


found 669287 0.97.3+dfsg-1
fixed 669287 0.98.1+dfsg-4
thanks.

On 2012-04-11 22:46:06 [+0200], Ruud Baart wrote:
> 
> I configured to run clamav with User = "amavis". This means that the logfiles in /var/log/clamav should be owned 
> by "amavis". However in /etc/logrotate.d/clamav-daemon is "create 640  clamav adm". Logfile /var/log/clamav/clamav.log
> can't be written after very logrotate.

The problem exists if you use configuration frontend. As far as I can see,
this has been fixed Andreas in the latest version. Now, if you select
"Do you want to enable log rotation?" => yes then newly created lograte
config file will use the proper user.

Sebastian



More information about the Pkg-clamav-devel mailing list