#990307 virtinst: Installation fails: cannot load AppArmor profile

#990307#5
Date:
2021-06-25 09:10:51 UTC
From:
To:
Dear Maintainer,

I'm trying to use *virt-install* command to create a new virtual machine
under qemu:///system uri.

The command

    # virt-install --name lackey --memory 4096 --cdrom Stiahnuté/Windows\ 10\ X64\ 20H2\ Pro\ OEM\ ESD\ MULTi-7\ MARCH\ 2021\ \{Gen2\}/WIN10X64.MULTi-7.MAR2021.iso --os-variant win10 --disk size=99

fails with error message:

ERROR    internal error: cannot load AppArmor profile 'libvirt-44fdd1be-0f7f-4c39-ba82-72ed52392b84'

The virtual machine is not created.
The expected outcome is to continue the process of installing the
virtual machine.

The same command executed under ordinary user work correctly.

I am attaching the debug output of virt-install command, and the logs of
libvirtd service.

#990307#10
Date:
2021-06-25 09:15:57 UTC
From:
To:
Attaching the files.

Dňa Piatok, 25. jún 2021 o 09:15, Debian Bug Tracking System
<owner@bugs.debian.org> napísal(a):