The log shows:
ERROR: Can't save PID to file /var/run/freshclam.pid: Permission denied
freshclam daemon 0.80 (OS: linux-gnu, ARCH: i386, CPU: i686)
ClamAV update process started at Tue Nov 23 23:35:27 2004
main.cvd is up to date (version: 28, sigs: 26630, f-level: 3, builder: tomek)
daily.cvd updated (version: 603, sigs: 790, f-level: 3, builder: tkojm)
Database updated (27420 signatures) from db.ch.clamav.net (18.104.22.168).
Steps to Reproduce:
1. configure a log file for freshclam in /etc/conf.d/clamd
2. /etc/init.d/clamd start
3. check log file
you will see the above error message
and no /var/run/freshclam.pid
create the /var/run/freshclam.pid
no error message
freshclam is running as the clamav user.
The pid file seems a similar treatment like the log file.
It needs to be touched by /etc/init.d/clamd and ownership set to clamav:clamav.
There is no real impact on functionality. But the error message is just not nice.
This is probably fixed in 0.85-r1, where I moved pidfiles to /var/run/clamav owned by clamav:clamav. If not, feel free to reopen.
works in 0.85.1
Changing bug status to CLOSED, so it doesn't clutter up bugzilla queries.