Subject: bin/14006: update.locatedb dies on scanning procfs
To: None <gnats-bugs@gnats.netbsd.org>
From: Rumi Szabolcs <rumi@paranoia.rulez.org>
List: netbsd-bugs
Date: 09/19/2001 05:02:40
>Number: 14006
>Category: bin
>Synopsis: su -m nobody -c /usr/libexec/locate.updatedb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 18 20:03:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Rumi Szabolcs
>Release: NetBSD 1.5.2
>Organization:
>Environment:
System: NetBSD paranoia.rulez.org 1.5.2 NetBSD 1.5.2 (CUSTOM-010911) #0: Tue Sep 11 04:26:23 CEST 2001 root@paranoia.rulez.org:/usr/src/sys/arch/i386/compile/CUSTOM-010911 i386
>Description:
locate.updatedb, specifically the find command therein seems to die on scanning procfs,
this prevents scanning of futher directories, for example /usr. output looks like this:
/proc/self
find: fts_read: Permission denied
>How-To-Repeat:
run locate.updatedb as nobody (like /etc/weekly does)
>Fix:
maybe the find command in update.locatedb should exclude procfs?
>Release-Note:
>Audit-Trail:
>Unformatted: