The bug is here in libvirt's postinst:
for p in usr.sbin.libvirtd usr.lib.libvirt.virt-aa-helper ; do
profile="/etc/apparmor.d/$p"
if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then
apparmor_parser -r "$profile" || true
fi
done
It should call apparmor_parser with -T and -W to a) avoid; and b) regenerate
the apparmor cache.
For instance, that's how all the other profiles I have installed on this box
are reloaded in postinst:
isc-dhcp-client.postinst: apparmor_parser -r -T -W "$APP_PROFILE" ||
true
libvirt-bin.postinst: apparmor_parser -r "$profile" || true
lxc-common.postinst: apparmor_parser -r -T -W "$APP_PROFILE" || true
lxd.postinst: apparmor_parser -r -T -W "$APP_PROFILE" || true
rsyslog.postinst: apparmor_parser -r -T -W "$APP_PROFILE" || true
snapd.postinst: apparmor_parser -r -T -W "$APP_PROFILE" || true
tcpdump.postinst: apparmor_parser -r -T -W "$APP_PROFILE" || true
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707400
Title:
package libvirt-bin 1.3.1-1ubuntu10.11 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1707400/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs