On Mon, Feb 02, 2004 at 02:27:18PM +0100, Tomasz Papszun wrote: > I didn't look at the sources but I've always thought that log rotating > is done different way. > The current logfile is _moved_ to other filename, not removed (deleted). > Due to this, the logfile is still open and new entries can be written to > it. Then on reload or restart, the handle (file descriptor?) is released > and the new logfile is created. Not earlier! > > I don't know if it makes any difference for clamd, though. >
Just a thought, user clamav does not have write permissions in the log directory, so logrotate, which I guess runs as root should create the new files also, owned by user clamav. Or did I overlook something? //daniel wiberg -- www.wiberg.nu ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users