Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97377 - /etc/updatedb.conf contains misleading commands and variables
Summary: /etc/updatedb.conf contains misleading commands and variables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 04:14 UTC by Nikolai Weibull
Modified: 2005-07-11 14:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A cleaned up updatedb.conf file. (updatedb.conf,542 bytes, text/plain)
2005-06-29 04:16 UTC, Nikolai Weibull
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Weibull 2005-06-29 04:14:20 UTC
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.
Comment 1 Nikolai Weibull 2005-06-29 04:16:43 UTC
Created attachment 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.
Comment 2 SpanKY gentoo-dev 2005-07-09 15:41:48 UTC
we dont copyright config files, but otherwise looks good

sorry for taking so long, now in portage
Comment 3 Nikolai Weibull 2005-07-11 08:47:23 UTC
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.
Comment 4 SpanKY gentoo-dev 2005-07-11 14:01:24 UTC
many config files still have Gentoo copyright in them; we've been slowly
stripping that out ...