Re: updatedb fails on F7....
- From: Mamoru Tasaka <mtasaka@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 01 Oct 2007 19:44:29 +0900
Vivek J. Patankar wrote, at 10/01/2007 07:16 PM +9:00:
Doncho N. Gunchev wrote:On Sunday 2007-09-30 21:40:38 Globe Trotter wrote:so what is the solution to this, as root?How much time does it take it to give this message? Generally speaking you
# updatedb
updatedb: src/updatedb.c:721: scan_cwd: Assertion `name_size > 1' failed.
Aborted
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.
This is a workaround for a known bug. Please check:
https://bugzilla.redhat.com/show_bug.cgi?id=242715
Bugzilla Bug 242715: Updatedb commad aborts unless /sys directory is pruned (fresh install)
Regards,
Mamoru
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Re: updatedb fails on F7....
- From: Vivek J. Patankar
- Re: updatedb fails on F7....
- Prev by Date: OT: perl function call from a bash script.
- Next by Date: python trouble after upgrade fc6 to fc7
- Previous by thread: Re: updatedb fails on F7....
- Next by thread: OT: perl function call from a bash script.
- Index(es):
Relevant Pages
|
|