On Sunday 27 June 2004 19:41, Jim Maul wrote:

> > -rw-r-----    1 qscand   adm             0 Jun 20 20:25 clamav.log
> > -rw-r-----    1 qscand   adm       2619368 Jun 25 14:43 clamav.log.1
> > -rw-r-----    1 clamav   adm        128026 Jun 14 04:36 clamav.log.2.gz
> >
> > Now, the last one (2.gz) might still be owned by clamav becuase of the
> > original setup; however, the .0 ad .1 are properly owned by qscand. But
> > as the roation happens, youc an clearly see that the newly created file
> > is not being used, instead everything is appended to .1
>
> You have to change the user clamav to qscand in the clamav logrotate
> script..most likely /etc/logrotate.d/clamd
>
> The new log is being created with the incorrect owner every time it
> rotates.

It doesn't look like that: clamav.log is owned by qscand...
yet, the file is not appended to!

See my previous post - it seemed that I forgot to make the pid file owned by 
qscand. Since I fixed that, the logfiles are rotated properly.

_Ace



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to