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

Re: [libvirt] Using Restore in another host.



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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