Comment 8 for bug 1709818

Revision history for this message
J. S. Seldenthuis (jseldent) wrote :

A similar error occurs when creating an arm virtual machine with libvirt 8.0.0 on jammy. I get the "qemu-system-arm: Failed to lock byte 100" at the beginning of installation. journalctl shows that apparmor denied the file_lock operation for /usr/share/AAVMF/AAVMF32_CODE.fd.

This bug has been fixed upstream. See https://gitlab.com/libvirt/libvirt/-/commit/2b98d5d91d95087d8a96d6450fa96414ed05ba5c. It, and related bugs, can be fixed with the attached patch. This brings the file_lock permissions in line with the current master branch of libvirt.