Having the same issue. Can't create the libvirt.sock when trying to
start up libvirt.

By using "aa-audit /usr/sbin/libvirtd", I get a lot of chatter in dmesg:

[67418.135152] audit: type=1400 audit(1426857324.439:5864):
apparmor="AUDIT" operation="file_perm" profile="/usr/sbin/libvirtd"
name="/run/libvirt/libvirt-sock" pid=3057 comm="libvirtd"
requested_mask="w" fsuid=0 ouid=0

I have "network netlink" in my usr.sbin.libvirtd configuration as well.

Could it be that for netlink, you have to specify TYPE (e.g. raw)? I
know for the rest, having no subsequent parameter assumes "all", but
perhaps for netlink, it's changed behavior. I'll test and report back.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1386465

Title:
  apparmor profile prevents libvirtd from creating a socket

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1386465/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to