Thanks for that. I'm going to retitle this bug for the general topic of properly reporting spaces in valius.
** Summary changed: - Unable to set AppArmor profile for /usr/bin/kvm-spice + Unable to set AppArmor profile [...] no such file or directory ** Changed in: libvirt (Ubuntu) Importance: Low => High ** Description changed: + ================================================= + Bugs are not infrequently reported along the lines of + Unable to set Apparmor Profile for [emulator]: No such file or directory + + It is frequently (always?) the result of some value - a cdrom or disk + file, smbios, or something - which has spaces of odd characters which + mess up virt-aa-helper or libvirt itself. + + We should attempt to detect this early on. Perhaps we can use a qemu hook, or add a check in virt-aa-helper. + ================================================= + /usr/bin/kvm-spice is a soft-link to /usr/bin/kvm in /etc/apparmor.d/abstractions/libvirt-qemu there is no line for kvm- spice. This leads rise to the error: libvirt: error : unable to set AppArmor profile 'libvirt-224075ba-a31a-48e9-98fe-337146e9f4f1' for '/usr/bin/kvm-spice': No such file or directory when using e.g. OpenStack $ lsb_release -rd Description: Ubuntu 14.10 Release: 14.10 $ dpkg -l|grep libvirt-bin ii libvirt-bin 1.2.8-0ubuntu11 amd64 programs for the libvirt library -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384532 Title: Unable to set AppArmor profile [...] no such file or directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1384532/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
