clamav-freshclam.service: Permission denied

ebprz

New Member
May 9, 2016
2
0
1
46
Hi I'm using Proxmox 4.2-2 and pass since version 3.4 to 4.1 started to have problems with some services in lxc apparently permissions issues between systemd and certain services containers, use debian 8-64 bit in the containers, initially had problems with postfix and I could solve by adding the following lines in the Proxmox in the conf concerning the container server where it was running postfix, the file is /etc/pve/lxc/101.conf and these are the lines which postfix solved the problem:

lxc.autodev: 1
lxc.kmsg: 0
lxc.aa_profile: unconfined
lxc.cgroup.devices.allow: b 7: * rwm

Recommendations from a colleague, who told me to make sure that the file ended in a blank line, now this problem is repeated but now with clamav me, there is no way to be updated, by running:

freshclam -v
ERROR: /var/log/clamav/freshclam.log is locked by another process
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).

And in the syslog of said container I see this:

May 9 16:03:42 mx systemd [1]: Failed to reset devices.list on /lxc/101/system.slice/clamav-daemon.service: Permission denied
May 9 16:03:49 mx systemd [1]: Failed to reset devices.list on /lxc/101/system.slice/clamav-freshclam.service: Permission denied
May 9 16:03:50 mx freshclam [8946]: DO NOT PANIC! Read http://www.clamav.net/support/faq
May 9 16:04:23 mx systemd [1]: Failed to reset devices.list on /lxc/101/system.slice/clamav-freshclam.service: Permission denied
May 9 16:04:23 mx freshclam [8987]: DO NOT PANIC! Read http://www.clamav.net/support/faq
May 9 16:11:53 mx systemd [1]: Failed to reset devices.list on /lxc/101/system.slice/clamav-freshclam.service: Permission denied
May 9 16:11:53 mx systemd [1]: Failed to reset devices.list on /lxc/101/system.slice/clamav-daemon.service: Permission denied
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!