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
crequill
2015-Sep-15 17:24 UTC
Re: [libvirt-users] libvirt 1.19: could not open drive file (permission denied)
If we cannot use anymore another partitions, for me it's a bug. Not for you? For information, I get this error with gnome boxes. With it, images are in /home/crequill/.local/share/gnome-boxes/images/. How run it? 2015-09-15 17:53 GMT+02:00 crequill <crequill@worldonline.fr>:> 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
Dominique Ramaekers
2015-Sep-16 06:06 UTC
Re: [libvirt-users] libvirt 1.19: could not open drive file (permission denied)
@requillart Don't get me wrong. It's no problem to use other partitions. Only, you have to add the location to the storage pool of libvirt... Sorry, no experience with gnome-boxes. @crequill Add a new storage pool with the destination /home/crequill/VM You can't fool apparmour with a link... Also with adding the storage pool, it's easier to get a clear picture of the usage of your storage resources in virt-manager -----Oorspronkelijk bericht----- Van: requillart@gmail.com [mailto:requillart@gmail.com] Namens crequill Verzonden: dinsdag 15 september 2015 19:24 Aan: Dominique Ramaekers CC: libvirt-users@redhat.com Onderwerp: Re: [libvirt-users] libvirt 1.19: could not open drive file (permission denied) If we cannot use anymore another partitions, for me it's a bug. Not for you? For information, I get this error with gnome boxes. With it, images are in /home/crequill/.local/share/gnome-boxes/images/. How run it? 2015-09-15 17:53 GMT+02:00 crequill <crequill@worldonline.fr>:> 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
Possibly Parallel 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)
- libvirt 1.19: could not open drive file (permission denied)
- Re: libvirt 1.19: could not open drive file (permission denied)