crequill
2015-Sep-15 15:28 UTC
[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
Dominique Ramaekers
2015-Sep-15 15:45 UTC
Re: [libvirt-users] libvirt 1.19: could not open drive file (permission denied)
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@redhat.com [mailto:libvirt-users-bounces@redhat.com] Namens crequill Verzonden: dinsdag 15 september 2015 17:29 Aan: libvirt-users@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@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
crequill
2015-Sep-15 15:53 UTC
Re: [libvirt-users] libvirt 1.19: could not open drive file (permission denied)
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@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@redhat.com [mailto:libvirt-users-bounces@redhat.com] Namens crequill > Verzonden: dinsdag 15 september 2015 17:29 > Aan: libvirt-users@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@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users
Seemingly Similar Threads
- Re: libvirt 1.19: could not open drive file (permission denied)
- Re: libvirt 1.19: could not open drive file (permission denied)
- Re: libvirt 1.19: could not open drive file (permission denied)
- Re: libvirt 1.19: could not open drive file (permission denied)
- Re: libvirt 1.19: could not open drive file (permission denied)