From owner-freebsd-questions Fri Oct 1 1:17:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 38E6414D24 for ; Fri, 1 Oct 1999 01:17:05 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.037 #1) id 11Wxs6-00099b-00; Fri, 01 Oct 1999 10:16:54 +0200 From: Sheldon Hearn To: Bryce Newall Cc: FreeBSD Questions List Subject: Re: segfaults on updatedb and /etc/security In-reply-to: Your message of "Thu, 30 Sep 1999 18:40:05 MST." Date: Fri, 01 Oct 1999 10:16:54 +0200 Message-ID: <35190.938765814@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 30 Sep 1999 18:40:05 MST, Bryce Newall wrote: > + locate.mklocatedb -presort > Segmentation fault How about that, the segfault is happening in another shell script. :-) Same idea applies. Edit /usr/libexec/locate.updatedb and change the line that calls /usr/libexec/locate.mklocatedb so that it's: if $find -s $SEARCHPATHS $excludes -or -print 2>/dev/null | sh -x $mklocatedb -presort > $tmp Then we get to see what comamnd in _that_ script is segfaulting. This advice assumes, of course, that there isn't someone else who's given you better advice already. :-) Later, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message