void-linux / void-linux/void-packages
libvirt-7.5.0_1: [Regression] Unable to create or start VMs
Open
Nobody has claimed this yet.
bug
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
System
- xuname:
Void 5.12.14_1 x86_64 GenuineIntel uptodate rFFFFFFFFFF - package:
libvirt-7.5.0_1
Was working fine in libvirt-7.4.0_1
Expected behavior
virsh start <domain> should start the corresponding virtual machine.
Actual behavior
$ doas virsh start voidlinux
error: Failed to start domain 'voidlinux'
error: internal error: cannot load AppArmor profile 'libvirt-aa58ea57-f6d7-48b1-b727-de97f4c508af'
Steps to reproduce the behavior
Enable AppArmorCreate a VM using libvirt<=7.4.0_1Update libvirt to 7.5.0_1, reboot to reload apparmor profilesTry to launch the VM again
Edit: The above is with AppArmor profile usr.lib.libvirt.virt-aa-helper unenforced (part of my debugging process)
- Enable Apparmor.
- Try to start or create any VM.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with libvirt-7.5.0_1 using virsh start <domain> and inspect the AppArmor profile usr.lib.libvirt.virt-aa-helper. Compare behavior with libvirt-7.4.0_1 and verify that creating or starting a VM succeeds with AppArmor enabled; the reported error should no longer occur.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100