|Anonymous | Login||2023-12-05 06:17 CET|
|Main | My View | View Issues|
|Viewing Issue Simple Details|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0005100||[findutils] packaging||minor||always||2013-08-08 21:40||2013-08-08 23:48|
|Summary||0005100: exclude /afs from search directories|
Thank you very much for your packaging work in OpenCSW.
Could you please add "/afs" to the list of directories that updatedb excludes while crawling?
The file to modify is:
|Tags||No tags attached.|
What is /afs? If it's not a stock mount for every solaris box, I'm not inclined to exclude it. Doing so would potentially break the setup at some other site.
If it's not stock solaris, and I don't think it is, your best option is to automate the management of the file that updatedb uses for excludes so that all of your installations are maintained with your site-local settings.
Please correct me if this is some standard solaris option though.
Thank you for considering this. AFS is the Andrew File System, a distributed, open-source filesystem similar to NFS. It has been around for a long time, but it's not part of any software that Oracle ships.
It is not a part of Linux either, but you can see that Red Hat excludes /afs, all the way from RHEL 5 in 2007, up to Fedora Rawhide:
From digging around in mailing list archives, there are references to this Red Hat configuration back in 2003, even though Red Hat has never shipped OpenAFS in its product line.
AFS servers can be geographically located all over the world, and the OpenAFS client ships with a lot of AFS "cells" (sites) under /afs. The autodiscovery and subsequent crawling by updatedb can generate a lot of network traffic and use a lot of resources.
While it is technically possible that skipping /afs has the potential to break setups at a hypothetical site, I believe that the overwhelming majority of people who have files located under /afs are running OpenAFS and would prefer that updatedb skip this location.
Ok, let's add it to PRUNEFS then so that regardless of mount point it's not crawled. This would make me feel better than adding it to PRUNEPATHS as it should do what you need and be more generic at with less risk of hurting other sites.
Work for you?
|Sure, I think that would work for me. Thank you.|
|Copyright © 2000 - 2008 Mantis Group|