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:
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.
I just tried it and it seems to work. Thanks!
*** This bug has been marked as a duplicate of 242715 ***