You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
something (or me) has messed up vagrant on my ubuntu box.
It runs on ubuntu 22.04 which has apparmor enabled. Correct me but I think apparmor is actually needed because it automatically sets the correct facl for files created by libvirt? Anyhow, I tried disabling and enabling it and neither works.
I'm getting:
Bringing machine 'default' up with 'libvirt' provider...
...
==> default: -- Name: win11_default
==> default: -- Description: Source: /home/xxxVM/win11/Vagrantfile
==> default: -- Domain type: kvm
==> default: -- Cpus: 2
==> default: -- Feature: acpi
==> default: -- Feature: apic
==> default: -- Feature: pae
...
==> default: -- Image(vda): /var/lib/libvirt/images/win11_default.img, virtio, 60G
...
==> default: -- RNG device model: random
==> default: Creating shared folders metadata...
==> default: Updating domain definition due to configuration change
==> default: Starting domain.
==> default: Removing domain...
==> default: Deleting the machine folder
/home/xxx/.vagrant.d/gems/3.1.4/gems/fog-libvirt-0.12.0/lib/fog/libvirt/requests/compute/vm_action.rb:7:in `create': Call to virDomainCreateWithFlags failed: internal error: process exited while connecting to monitor: 2024-02-16T03:45:58.354257Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/win11_default.img","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/var/lib/libvirt/images/win11_default.img': Permission denied (Libvirt::Error)
something (or me) has messed up vagrant on my ubuntu box.
It runs on ubuntu 22.04 which has apparmor enabled. Correct me but I think apparmor is actually needed because it automatically sets the correct facl for files created by libvirt? Anyhow, I tried disabling and enabling it and neither works.
I'm getting:
I also tried to setfacl manually:
It seems user xxx(me) and libvirt-qemu as well as group kvm and libvirt have been given full permissions. But it still doesn't work.
What do I have to do to reset this?
The text was updated successfully, but these errors were encountered: