Hello I setup a new KVM host (try debian 12 and 11).
I use LVM with the host and also within KVM, this works goog for about
the last > 10 years.
Now KVM cant use block devices anymore.
Apparmor is sill disabled.
...
-sandbox
on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
2025-02-08T17:46:56.707371Z qemu-system-x86_64: -blockdev
{"driver":"host_device","filename":"/dev/kvm/debian11","aio":"native","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}:
Could not open '/dev/kvm/debian11': Permission denied
2025-02-08 17:46:56.762+0000: shutting down, reason=failed
root@kvm:/dev/kvm# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log
debian11 kvm -wi-a----- 5.00g
I don't know what's wrong here.
Best Regards