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

Peter Krempa
Tue, 11 Jun 2019 12:35:46 -0000

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.