Doncho N. Gunchev wrote:
On Sunday 2007-09-30 21:40:38 Globe Trotter wrote:
so what is the solution to this, as root?
# updatedb
updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed.
Aborted
How much time does it take it to give this message? Generally speaking you
should call /etc/cron.daily/mlocate.cron, which will tell updatedb what
not to index (ex: /dev, /proc, /sys, /selinux, /tmp...). Maybe one of
these pseudo filesystems is causing the problem, try mlocate.cron?
Better still, add /sys to the PRUNEPATHS parameter in /etc/updatedb.conf
Run updatedb with the -v flag and you'll probably notice that it gets
stuck at /sys/module/nousb/parameters. That's probably because of a file
in there that has a zero sized filename.
[root@marvin parameters]# updatedb -v
.
.
*big snip*
.
.
/sys/module/nfnetlink/sections/.text
/sys/module/nousb/parameters
updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed.
Aborted
[root@marvin ~]# cd /sys/module/nousb/parameters/
[root@marvin parameters]# ll
ls: cannot access : No such file or directory
total 0
-????????? ? ? ? ? ?
[root@marvin parameters]#
--
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)
Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.22.4-65.fc7 x86_64
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list