Re: [libvirt-users] Ubuntu Trusty: failed to create VM due to permission denied

2014-08-06 Thread Jianfeng Tang
Agree. I did a little research. For those who hit this issue, it works after I modified /etc/apparmor.d/abstractions/libvirt-qemu to include the backing store directory. On 8/6/14 11:18 AM, "Eric Blake" wrote: >On 08/06/2014 10:02 AM, Jianfeng Tang wrote: >> Thank you Eric. Yes, it looks like Ap

Re: [libvirt-users] Ubuntu Trusty: failed to create VM due to permission denied

2014-08-06 Thread Eric Blake
On 08/06/2014 10:02 AM, Jianfeng Tang wrote: > Thank you Eric. Yes, it looks like AppArmor caused the problem. I will > google on how to disable it. That feels wrong. "My security process is preventing me from doing something wrong because I didn't configure it to match my usage patterns, so I'm

Re: [libvirt-users] Ubuntu Trusty: failed to create VM due to permission denied

2014-08-06 Thread Jianfeng Tang
Thank you Eric. Yes, it looks like AppArmor caused the problem. I will google on how to disable it. On 8/5/14 8:27 PM, "Eric Blake" wrote: >On 08/05/2014 05:23 PM, Jianfeng Tang wrote: > >> >> However, if I moved my image file (not base image) to default location >> /var/lib/libvirt/images. It

Re: [libvirt-users] Ubuntu Trusty: failed to create VM due to permission denied

2014-08-05 Thread Eric Blake
On 08/05/2014 05:23 PM, Jianfeng Tang wrote: > > However, if I moved my image file (not base image) to default location > /var/lib/libvirt/images. It works. > > It seems something related to selinux. However, my box seems not have > selinux installed at all. It's probably AppArmor, not SELinux;