bin/124119: locate(1) doesn't check /etc/locate.rc for the default database

Edwin Groothuis edwin at mavetju.org
Fri May 30 06:20:01 UTC 2008


>Number:         124119
>Category:       bin
>Synopsis:       locate(1) doesn't check /etc/locate.rc for the default database
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 30 06:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:

    [~] root at k7>grep FCODES /etc/locate.rc 
    FCODES="/usr/var/locate/locate.database"
    [~] root at k7>locate foo
    locate: database too small: /var/db/locate.database

    This PR is more a placeholder for me to remember to fix it. Or
    at least discuss it.

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list