<div dir="ltr">Hi,<div><br></div><div>In kubevirt we are running into a strange permission problem on libvirt-5.0. We see transient "Permission Denied" errors when "<span style="color:rgb(0,0,0);white-space:pre-wrap">virAuditSend" wants to send an audit log. [1] shows the logs of one of these containers. Here an example:</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div>{"component":"virt-launcher","level":"warning","msg":"Failed to send audit message virt=kvm vm=\"kubevirt-test-default_testvmit2pqrkrlrwbhptcjcs4n67jn6pjqvmtd7pkrpdmkrl5sldzs4rxr9zdg8m45jxz\" uuid=56a33283-f6d7-4002-b188-1fed83186545 vm-ctx=+107:+107 img-ctx=+107:+107 model=dac: Permission denied","pos":"virAuditSend:141","subcomponent":"libvirt","thread":"30","timestamp":"2019-10-08T23:58:40.651000Z"}<span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><br></div><div>We recently switched in kubevirt to a dedicated selinux policy and remove the general "privileged" flag from the containers where we run libvirt in. This is very likely related to it, but we can't make sense out of it, because:</div><div><br></div><div> * It randomly affects one out of a few hundred containers which we start<br></div><div> * It is not bound to a specific node</div><div></div><div> * It is only transient on that container. After a few denials libvirt can just continue.</div><div> * Sometimes it is accompanied with a transient "Permission denied" on /dev/null from our code in that container (so not from something which libvirt tries to do).</div><div><br></div><div>Has someone seen something like this before in different environments?</div><div><br></div><div>Best Regards,</div><div>Roman</div><div><br></div><div>[1] <a href="https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2623/pull-kubevirt-e2e-os-3.11.0-crio/1181668456550895616/artifacts/pods/1_kubevirt-test-default_virt-launcher-testvmit2pqrkrlrwbhptcjcs4n67jn6pjqvmtd7pkrp75sjh-compute.log">https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/2623/pull-kubevirt-e2e-os-3.11.0-crio/1181668456550895616/artifacts/pods/1_kubevirt-test-default_virt-launcher-testvmit2pqrkrlrwbhptcjcs4n67jn6pjqvmtd7pkrp75sjh-compute.log</a></div></div>