Comment 1 for bug 1408833

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: broken postinst test for uvtool-libvirt on utopic

uvtool could work around this issue by not using socat to verify that libvirt is running.

apparmor doesn't appear to be reporting any denials, even in complain mode. So i don't know what is actually causing the denial. However, running the container with lxc.aa_profile = unconfined does allow it to succeed, so it does appear to be apparmor causing it.

Once libvirt is installed in the container, you can test by hand by simply doing:

sudo socat UNIX-CONNECT:/var/run/libvirt/libvirt-sock -

Until uvtool or apparmor packages are updated, you can edit the postinst file to remove the socat check by hand to work around this, or put the container into unconfined mode.