This is a problem with virt-aa-helper.c. Basically, in valid_path()
this:

    /* override the above with these */
    const char * const override[] = {
        "/sys/devices/pci",              /* for hostdev pci devices */
        "/etc/libvirt-sandbox/services/" /* for virt-sandbox service config */
    };

should be changed to:
    /* override the above with these */
    const char * const override[] = {
        "/sys/devices/pci",              /* for hostdev pci devices */
        "/etc/libvirt-sandbox/services/", /* for virt-sandbox service config */
        "/usr/share/ovmf/" /* for OVMF images */
    };

See https://lists.ubuntu.com/archives/apparmor/2015-August/008466.html
for details.

** Also affects: libvirt (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: apparmor (Ubuntu)

** No longer affects: virt-manager (Ubuntu)

** Tags added: apparmor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1483071

Title:
  Error creating new VM with OVMF

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1483071/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to