Mailinglist Archive: opensuse-support (159 mails)

< Previous Next >
[opensuse-support] creating qemu VM with --boot uefi fails due to missing AppArmor profile
Hello list,

I have a problem creating virtual machines with UEFI boot mode. It seems that
the required AppArmor profile is not created.

% virt-install --connect qemu:///system --boot uefi --name ovmf --memory 1024
--disk size=10
WARNING No operating system detected, VM performance may suffer. Specify an OS
with --os-variant for optimal results.

Starting install...
Allocating 'ovmf-1.qcow2'
| 10 GB 00:00:00
ERROR internal error: cannot load AppArmor profile

Looking for the profile yields no result:

% find /etc/apparmor.d/libvirt/ -name

Though when I create a non-UEFI VM, it works as expected.

% virt-install --connect qemu:///system --boot hd --name ovmf --memory 1024
--disk size=10
% virsh --connect qemu:///system dominfo ovmf | grep label
Security label: libvirt-76ae48ba-fa95-4695-8bfc-f461d1cab1c0 (enforcing)
% find /etc/apparmor.d/libvirt/ -name 76ae48ba-fa95-4695-8bfc-f461d1cab1c0

Is there something I'm missing or should I file a bug?

To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups