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
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