Bug 249561

Summary: updatedb not function under the 2.6.22.1-27.fc7 kernel
Product: [Fedora] Fedora Reporter: eric
Component: mlocateAssignee: Miloslav Trmač <mitr>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: zing
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-26 14:55:13 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:

Description eric 2007-07-25 15:21:23 UTC
Description of problem:
When running updatedb I get the following error:
updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed

This only happens when using the 2.6.22.1-27.fc7 kernel.  The command works
properly under the 2.6.21-1.3228.fc7 kernel.

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


How reproducible: Each time.


Steps to Reproduce:
1. "updatedb" under root
  
Actual results:
updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed

Expected results:
For the db to be updated so "locate" will work.

Additional info:

Comment 1 Zing 2007-07-26 00:08:42 UTC
something in /sys is confusing updatedb...

WORKAROUND: if you add "sysfs" to the PRUNEFS variable in /etc/updatedb.conf,
updatedb should succeed... it does on mine.

Comment 2 eric 2007-07-26 00:24:31 UTC
I just tried it and it seems to work.  Thanks!

Comment 3 Zing 2007-07-26 14:55:13 UTC

*** This bug has been marked as a duplicate of 242715 ***