[Pkg-clamav-devel] Bug#767353: Bug#767353: clamav: ERROR: Can't save PID to file /var/run/clamav/freshclam.pid: No such file or directory

Milko Krachounov milko at 3mhz.net
Sun Jan 18 10:53:42 UTC 2015


On Friday, 30 October 2014 22:14:46 you wrote:
> As this warning is completely harmless, when systemd is used, I don't
> think it's worth to invest a lot of time trying to fix this.

It is not completely harmless---it breaks logrotate for me. Logrotate 
fails to reload the daemon  after rotating the logs, and it spams my 
mailbox with errors.

/etc/cron.daily/logrotate:
pkill: pidfile not valid
Try `pkill --help' for more information.


And when running the post-rotate command that's in 
/etc/logrotate.d/clamav-freshclam I get the following:

 # /etc/init.d/clamav-freshclam reload-log 
[....] Reloading ClamAV virus database updater: freshclampkill: pidfile not valid
Try `pkill --help' for more information.
 failed!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20150118/d379a51a/attachment.sig>


More information about the Pkg-clamav-devel mailing list