Can't launch Proxmox : apparmor="DENIED"

Damien67

New Member
Jan 12, 2017
1
0
1
43
Hello,

I own a dedicated server (Dedibox Online.net) with Proxmox installed on it. Everything was OK until yesterday, now I can't start the server. Here is the error I got :

Code:
apparmor="DENIED" operation="sendmsg" profile="/usr/sbin/named" name="/run/systemd/journal/dev-log

Could you please help ?
 
Hi Damien,

The solution is to accept Apparmor writing to /run/systemd/journal/dev-log

Some of the explanations can befound here : /etc/apparmor.d/local/README

So,
Code:
nano /etc/apparmor.d/local/usr.sbin.named

Add this line
Code:
/run/systemd/journal/dev-log rw,

Finally run,
Code:
apparmor_parser -r /etc/apparmor.d/usr.sbin.named

To test run service bind9 restart and look at the syslog live in your node.


Chris