Bug 655193

Summary: Exclude ccache and squid directories from locate
Product: [Fedora] Fedora Reporter: Steve Snyder <swsnyder>
Component: mlocateAssignee: Miloslav Trmač <mitr>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 14CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-23 22:43:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Exclude ccache and squid cache directories none

Description Steve Snyder 2010-11-19 20:27:20 UTC
Created attachment 461644 [details]
Exclude ccache and squid cache directories

Description of problem:

The ccache and squid applications generate a large number of data files with encoded names.  Because these names are not meaningful to humans, it is pointless to swell the mlocate database with data that won't be used.

Version-Release number of selected component (if applicable):

mlocate-0.23.1-1.fc14.1

How reproducible:

Always.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

See attached patch.

Comment 1 Miloslav Trmač 2010-11-23 21:53:46 UTC
Thanks for your report.

The default configuration already includes /var/cache/ccache and /var/spool/squid in PRUNEPATHS in /etc/updatedb.conf.  Is this not working or not sufficient?

Comment 2 Steve Snyder 2010-11-23 22:43:04 UTC
Oops!  I didn't realize there were exclusions in /etc/updatedb.conf.  I was just looking at the cron job.

Sorry to bother you.