[Pkg-libvirt-maintainers] Bug#1093955: Trying to delete a snapshot leads to permission denied error

Michael Biebl biebl at debian.org
Fri Feb 14 22:45:07 GMT 2025


On Fri, 24 Jan 2025 10:14:23 +0100 Michael Biebl <biebl at debian.org> wrote:
> Package: libvirt-daemon
> Version: 11.0.0-1
> Severity: normal
> 
> Hi,
> 
> since some time now, trying to delete VM snapshots via virt-manager,
> fails:
> 
> Fehler beim Löschen des Schnappschusses »snapshot1«: internal error: unable to execute QEMU command 'block-commit': Could not open '/var/lib/libvirt/images/debian12.qcow2': Permission denied


Looks like a duplicate of 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932456

Not sure why I've only encountered this just recently.


For the time being I've worked around it via:

diff --git a/libvirt/qemu.conf b/libvirt/qemu.conf
index 66b7ef6..8645591 100644
--- a/libvirt/qemu.conf
+++ b/libvirt/qemu.conf
@@ -491,6 +491,7 @@
  # isolation, but it cannot appear in a list of drivers.
  #
  #security_driver = "selinux"
+security_driver = "none"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20250214/e04810b2/attachment-0001.sig>


More information about the Pkg-libvirt-maintainers mailing list