Bug 97377 - /etc/updatedb.conf contains misleading commands and variables
|
Bug#:
97377
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: trivial
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: now@bitwi.se
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: /etc/updatedb.conf contains misleading commands and variables
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-06-29 04:14 0000
|
As far as I can tell from looking at the source, slocate doesn't honor NETPATHS
in /etc/updatedb.conf. Furthermore, it doesn't parse export statements, and
the file isn't executed like a shell script before updatedb runs. Furthermore
(and this is a bit anal retentive) the comments in the file use the word "which"
when the word "that" should be used.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
A working solution would be to replace the updatedb.conf file that is being put
in /etc/ when installing slocate with one that reflects the actual state of
affairs. This can be done by removing the NETPATHS variable and any export
statements.
Created an attachment (id=62220) [details]
A cleaned up updatedb.conf file.
This file is a cleaned up updatedb.conf file that reflects the way slocate
actually works. It also fixes the small usage-problems of the word "which" in
the comments.
we dont copyright config files, but otherwise looks good
sorry for taking so long, now in portage
No problem.
The copyright is definitely yours. This is the updatedb.conf that I found on my
system, though cleaned-up as I said. I haven't added any headers.
many config files still have Gentoo copyright in them; we've been slowly
stripping that out ...