[libvirt-users] Using qemu active blockcommit results in 'Permission denied' error

Peter Krempa pkrempa at redhat.com
Tue Jun 11 12:35:46 UTC 2019


On Fri, May 31, 2019 at 14:03:40 +0200, Marcus Hoffmann wrote:
> Hi Peter,
> 
> On 31.05.19 09:57, Peter Krempa wrote:
> > On Thu, May 30, 2019 at 22:12:14 +0200, Marcus Hoffmann wrote:
> >> Hello all,
> > 
> > Hi,
> > 
> >>
> >> I tried following this guide:
> >> https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
> >>
> >> Unfortunately when I try to do the final virsh blockcommit step I always
> >> get the following error:
> >>
> >> error: internal error: unable to execute QEMU command 'block-commit':
> >> Could not reopen file: Permission denied

I managed to reproduce this issue but when using selinux. I'll try to
fix it with selinux and will try to assess whether it has the possiblity
to fix apparmor too. I'll cc you on a patch when I'll be able to fix it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20190611/7ed7de2f/attachment.sig>


More information about the libvirt-users mailing list