Comment 2 for bug 1707400

Revision history for this message
Andreas Hasenack (ahasenack) wrote : Re: package libvirt-bin 1.3.1-1ubuntu10.11 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I see apparmor DENIED messages:
[132257.005761] audit: type=1400 audit(1501333532.752:74): apparmor="DENIED" operation="create" profile="/usr/sbin/libvirtd" pid=32586 comm="libvirtd" family="netlink" sock_type="raw" protocol=0 requested_mask="create" denied_mask="create"

And errors from libvirt trying to connect which match the refusals from apparmor:
Jul 29 09:05:14 hostname libvirtd[32055]: cannot connect to netlink socket with protocol 0: Permission denied

I tried reproducing this issue on a fresh xenial VM, but libvirt with apparmor worked just fine. I tried the original version from xenial, and the update. The profile is in enforcing mode, and all I get are STATUS messages in syslog.

Have you modified any apparmor file in /etc/apparmor.d by any chance?

One last thing to try is to upgrade from trusty to xenial, and then install libvirt-bin.