Hey
I'm currently running a CentOS 7 LXC container on Proxmox 4. When I try to start named it gets a permission denied error when trying to check /etc/named.conf. This is what systemd gives on the guest system:
On the host system I get this in the syslog:
And using auditd logging I get this:
Is there anyone with AppArmor experience that can point me in the right direction of resolving this issue?
I'm currently running a CentOS 7 LXC container on Proxmox 4. When I try to start named it gets a permission denied error when trying to check /etc/named.conf. This is what systemd gives on the guest system:
Code:
systemd[2004]: Failed at step NAMESPACE spawning /usr/sbin/named-checkconf: Permission denied
On the host system I get this in the syslog:
Code:
[ 3103.353857] audit: type=1400 audit(1445010184.626:58): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=17805 comm="mount" flags="rw, remount
And using auditd logging I get this:
Code:
type=AVC msg=audit(1445011335.870:74): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=26196 comm="(heckconf)" flags="rw, rslave" type=SYSCALL msg=audit(1445011335.870:74): arch=c000003e syscall=165 success=no exit=-13 a0=0 a1=55cb0
87ca8ee a2=0 a3=84000 items=0 ppid=17627 pid=26196 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(heckconf)" exe="/usr/lib/systemd/systemd" key=(null) type=PROCTITLE msg=audit(1445011335.870:74): proctitle="(heckconf)"
type=SERVICE_START msg=audit(1445011335.898:75): pid=17627 uid=0 auid=1000 ses=1 msg=' comm="named" ex
e="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Is there anyone with AppArmor experience that can point me in the right direction of resolving this issue?