Good catch.
Just 3 lines to drop in the code, and now it's OK.

in "src/chglog_reader/chglog_reader.c"
drop these 3 lines:

-#ifndef HAVE_SHOOK
-    [CL_XATTR] = { .ignore = IGNORE_ALWAYS },
-#endif


Thanks for reporting.
Thomas


On 08/04/16 15:46, Wendy Poole wrote:
If I have an existing file and later I add an xattr based on a file policy, the rbh-report --class-info does not report the updated change. If I do an "lfs changelog lustre-MDT0000" , it reflects the update but "cl1" is still on the previous index, as shown by cat /proc/fs/lustre/mdd/lustre-MDT0000/changelog_users. If I copy another file to the lustre filesystem , the indexes match, however, the xattr feature is still not acknowledged by rbh-report --class-info. Only after I rescan the filesystem , "robinhood --scan --once", is the DB updated with that information. I am using robinhood-3.0. I also see this with robinhood-2.5.4


------------------------------------------------------------------------------


_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support


------------------------------------------------------------------------------
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to