[Libvir] PATCH: Fix dir/fs storage pool when SELinux is disabled
jim at meyering.net
Mon Mar 17 16:58:15 UTC 2008
"Daniel P. Berrange" <berrange at redhat.com> wrote:
> On Mon, Mar 17, 2008 at 05:36:49PM +0100, Jim Meyering wrote:
>> "Daniel P. Berrange" <berrange at redhat.com> 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
I've just done it.
More information about the libvir-list