[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2791: locate seg faults if locatedb too big



Package: findutils
Version: 4.1-9

locate seg faults when the /var/lib/locate/locatedb file is too big.

I don't know how big "too big" is.

I just upgraded findutils to the latest version, and forgot to hack
/usr/bin/updatedb to exclude "-fstype iso9660", "/usr*/spool", and
"/usr3/httpd/cache" (i don't want my cdrom drive indexed, and i dont
want my news spool or web cache indexed either).

next time i tried to locate a file, locate crashed part way through
displaying the matching files.

I remembered that the same thing had happened with previous versions of
locate, hacked the updatedb to exclude my news spool, web cache, and
cdrom and ran updatedb again.  After that, locate worked with no problems.


BTW, maybe this should go in a separate bug report, but I think that the
configuration for updatedb should go in a separate config file (maybe
/var/lib/locate/config), so that I don't lose the config whenever I
upgrade findutils.

Craig


Reply to: