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

Eric Blake eblake at redhat.com
Wed Aug 6 01:27:14 UTC 2014


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; but the concepts are the same - if
you have a mandatory access control that libvirt can use, then you have
to make sure that non-default locations are permitted through your
control mechanism, in order for libvirt sVirt protections to work with
your layout.

> 
> Anyone knows how to fix this?

Sadly, I don't use AppArmor myself to offer actual advice on it.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20140805/d4a366fe/attachment.sig>


More information about the libvirt-users mailing list