[Pkg-libvirt-maintainers] Bug#971837: libvirt-daemon: apparmor error when creating VM

Paul Slootman paul at debian.org
Fri Oct 30 12:58:12 GMT 2020


I've since found that the problem is in fact the location of the ISO
file. When I moved it from /usr/local/lib/ to /var/lib/libvirt/images/
the creation of the VM succeeded.

In short the error message given bij libvirt is VERY misleading!
That is probably the real bug.

I would appreciate a hint how to add /usr/local/lib/ as a location for
ISO files. Adding these lines to
/etc/apparmor.d/usr.lib.libvirt.virt-aa-helper didn't help:

  /usr/local/lib/ r,
  /usr/local/lib/*.[Ii][Ss][Oo] r,


Thanks,
Paul



More information about the Pkg-libvirt-maintainers mailing list