Hide Forgot
Description of problem: From time to time the user and group for the files clam.log and freshclam.log change from clamav:clamav to clam:clam thou the user is set to clamav in the config. This messes up the service because it no longer has acces rights on the log files. I believe this happens when the log files rotate. I'm using CentOS 5.5 and I installed clamav following the steps here: http://www.linuxmail.info/how-to-install-clam-antivirus-centos-5/ Version-Release number of selected component (if applicable): 0.97 How reproducible: one a week ussually, when the log rolls. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is done by /etc/logrotate.d/clamav. If you need to run clamd as another user than "clam", you should also update this logrotate-config to create the logfile as this user. But running it as the default user "clam" will be better, as you woun't need to edit this logrotate file, and you woun't need to re-redit it after upgrades.
.. and also /etc/logrotate.d/freshclam needs to be updated..
I'm closing this ticket, since I think this is intended behaviour.
thanks