Hi, <[email protected]> writes:
> Le 25/09/2015 12:23, Loris Bennett a écrit : >> Hi, >> >> I'm using version 2.5.5-1. In the documentation it says >> >> ,-------------------------------------------------------------------- >> | Important note: if you modify fileclass definitions or target >> | fileclasses of policies, you need to reset fileclass information in >> | Robinhood database. To do so, run the following command: >> | >> | rbh-config reset_classes >> `-------------------------------------------------------------------- >> >> However, if I do make add a fileset definition and try to reset the >> classes, I get the following: >> >> ,----------------------------------------------------------------- >> | $ rbh-config reset_classes robinhood_home 'fakepassword' >> | Checking schema... >> | Database robinhood_home is already empty. No fileclass to reset. >> `----------------------------------------------------------------- >> >> If I then do: > Hi, > At this step, you need to rescan the filesystem to match entries with > new fileclass definitions. > "reset_classes" just ensures to invalidate caching effects and force > rematching at the next scan. OK, following a scan, the new classes are now visible. However, I'm slightly surprised that rbh-report --class-info is quite slow, taking around 30 min for 18 million entries with a total size of around 10 TB. Isn't the information about which files are in which class collected during the scan and cached? Cheers, Loris >> >> ,------------------------------------------------------------ >> | rbh-report --class-info -f /etc/robinhood.d/tmpfs/home.conf >> `------------------------------------------------------------ >> >> the new fileclass does not show up. >> >> What am I doing wrong? >> >> Cheers, >> >> Loris -- This signature is currently under construction. ------------------------------------------------------------------------------ _______________________________________________ robinhood-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/robinhood-support
