Re: error deploying a vm: Operation not permitted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/03/2012 05:06 AM, Michael Rebstock wrote:
> 
> but then I get the following error message:
> 
> error: Failed to create domain from deployment.0
> 
> error: cannot set ownership on /var/lib/one/datastores/0/15/disk.0:
> Operation not permitted

What distro?  If this is a Fedora-based distro, I would guess that this
is a SELinux issue, where you haven't set up libvirt to know that you
want to use /var/lib/one/datastores as a libvirt image repository,
therefore it is labeled incorrectly and SELinux denies attempts to use
it.  If I'm right, then the solution would be to create a storage pool
for that directory, so that libvirt will then know to alter the labeling
of that directory and thus permit access to the images contained inside.
 [If you're using a debian-based distro, then the same comments probably
apply to your appArmor setup, but I'm not as familiar with setting that up]

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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux