OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005100 [findutils] packaging minor always 2013-08-08 21:40 2013-08-08 23:48
Reporter kdreyer View Status public  
Assigned To
Priority normal Resolution open  
Status new  
Summary 0005100: exclude /afs from search directories
Description 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?
Additional Information The file to modify is:
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/findutils/trunk/files/CSWfindutils.postinstall [^]
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010520)
bwalton (administrator)
2013-08-08 22:25

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.

Thanks
-Ben
(0010521)
kdreyer (reporter)
2013-08-08 22:44

Hi Ben,

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:

http://pkgs.fedoraproject.org/cgit/mlocate.git/tree/updatedb.conf [^]

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.
(0010522)
bwalton (administrator)
2013-08-08 22:54

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?
(0010523)
kdreyer (reporter)
2013-08-08 23:48

Sure, I think that would work for me. Thank you.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker