[libvirt-users] libvirt 1.19: could not open drive file (permission denied)

crequill crequill at worldonline.fr
Tue Sep 15 15:53:56 UTC 2015


Indeed, I have a link between /var/lib/libvirt/images and my home
directory on an another partition.

# ls -al /var/lib/libvirt/images
lrwxrwxrwx 1 root root 17  3 sept. 09:29 /var/lib/libvirt/images ->
/home/crequill/VM

2015-09-15 17:45 GMT+02:00 Dominique Ramaekers <dominique.ramaekers at cometal.be>:
> A while ago, I had the same problem. It was a apparmor issue. Maybe your image is on a location outside your storage pools?
>
> -----Oorspronkelijk bericht-----
> Van: libvirt-users-bounces at redhat.com [mailto:libvirt-users-bounces at redhat.com] Namens crequill
> Verzonden: dinsdag 15 september 2015 17:29
> Aan: libvirt-users at redhat.com
> Onderwerp: [libvirt-users] libvirt 1.19: could not open drive file (permission denied)
>
> Hi,
>
> With libvrit 1.18 all is working fine: I can  open my win7 VM on Archlinux without problem.
> But I cannot use it with libvirt 1.19: it could not open drive file (permission denied).
>
> In /etc/libvirt/qemu.conf, I have:
>      - user: root
>      - group: root
>
> And the drive file has root:root as owner.
>
> Why this configuration is running with libvirt 1.18 and not with libvirt 1.19 ?
>
> Many thanks for your reply.
> Christophe
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list