Re: PATCH: Fix dir/fs storage pool when SELinux is disabled

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

 



"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
> On Mon, Mar 17, 2008 at 05:36:49PM +0100, Jim Meyering wrote:
>> "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
>> > When SELinux is disabled  fgetfilecon() may well return -1, if a file has no
>> > extended attribute with security context data. This causes the storage pool
>> > to skip that file. The fix is to check whether errno is ENODATA and treat
>> > that as an expected error case & ignore it.
>>
>> Hi Dan,
>>
>> That code should handle ENOTSUP as well as ENODATA.
>
> Ok, comitted that too

No problem.
I've just done it.

--
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]