First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97377
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nikolai Weibull <now@bitwi.se>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
updatedb.conf A cleaned up updatedb.conf file. text/plain Nikolai Weibull 2005-06-29 04:16 0000 542 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97377 depends on: Show dependency tree
Bug 97377 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Nikolai Weibull 2005-06-29 04:16:43 0000 -------
Created an attachment (id=62220) [edit]
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 From SpanKY 2005-07-09 15:41:48 0000 -------
we dont copyright config files, but otherwise looks good

sorry for taking so long, now in portage

------- Comment #3 From Nikolai Weibull 2005-07-11 08:47:23 0000 -------
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 From SpanKY 2005-07-11 14:01:24 0000 -------
many config files still have Gentoo copyright in them; we've been slowly
stripping that out ...

First Last Prev Next    No search results available      Search page      Enter new bug