Re: Using Restore in another host.

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

 



On 04/05/2011 09:17 AM, Michal Novotny wrote:
> On 04/05/2011 05:15 PM, Eric Blake wrote:
>> On 04/05/2011 09:09 AM, Michal Novotny wrote:
>>> Hi Marcela,
>>> I was investigating the log file and it seems like the image file cannot
>>> be opened on the remote host.
>> Are you using SELinux, and is your shared storage on NFS?  If so, did
>> you run 'setsebool -P virt_use_nfs on' to let the destination properly
>> access the shared storage from NFS?
>>
> Eric, I'm not too familiar with SELinux. Do you think the
> virFileOpenAs() would fail if the SELinux context won't be set properly?

Yes, if you are running with SELinux enforcing, then it is possible for
all attempts to open() to fail due to denied permissions, even with
virFileOpenAs() trying different uids, if you haven't told SELinux to
allow NFS images.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]