virt-aa-helper reports actually already a good message internally: virt-aa-helper: error: skipped restricted file virt-aa-helper: error: invalid VM definition
You'd already see it in journal or on a systemctl to libvirtd: Jun 19 11:35:53 c libvirtd[25978]: 2018-06-19 11:35:53.415+0000: 25979: error : virCommandWait:2601 : internal error: Child process (LIBVIRT_LOG_OUTPUTS=3:stderr /usr/lib/libvirt/virt-aa-helper -p 0 -r -u libvirt-8763795d-f056-4373-9d57-3d3bad391e5a -f '/var/lib/libvirt/images/break,^*[]", foo"me.qcow') unexpected exit status 1: virt-aa-helper: error: /var/lib/libvirt/images/break,^*[]", foo"me.qcow Jun 19 11:35:53 c libvirtd[25978]: virt-aa-helper: error: skipped restricted file Jun 19 11:35:53 c libvirtd[25978]: virt-aa-helper: error: invalid VM definition Jun 19 11:35:53 c libvirtd[25978]: 2018-06-19 11:35:53.415+0000: 25979: error : AppArmorSetSecurityImageLabel:843 : internal error: cannot update AppArmor profile 'libvirt-8763795d-f056-4373-9d57-3d3bad391e5a' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767934 Title: breaking the apparmor profile leads to misleading error messages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1767934/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
