edestecd / puppet-clamav

Puppet Module for managing ClamAV
GNU General Public License v3.0
6 stars 59 forks source link

ERROR: Can't save PID to file /var/run/clamav/freshclam.pid: Permission denied #52

Closed hdep closed 6 years ago

hdep commented 6 years ago

Hello,

I'm running you plugin on debian 8. just figure out that freshclam can't create the pid file into /var/run/clamav/. this folder is owned by root and freshclam run a user clamav.

Anyway this isn't needed when we use systemd according to : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804132

I checked this PR : https://github.com/edestecd/puppet-clamav/pull/38/commits

Does this fixed also this issue ?

edestecd commented 6 years ago

Yes I think it does. I was close to merging that at one point. I need to look at it again. I think he fixed everything.

hdep commented 6 years ago

great. Thank you for the feed back.

roock commented 6 years ago

Would be great to have that merged, we are also affected by this issue (freshclam pid file cannot be created on Debian 8+)