Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Oct 1999 10:16:54 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Bryce Newall <data@dreamhaven.net>
Cc:        FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: segfaults on updatedb and /etc/security 
Message-ID:  <35190.938765814@axl.noc.iafrica.com>
In-Reply-To: Your message of "Thu, 30 Sep 1999 18:40:05 MST." <Pine.NEB.4.10.9909301839110.84108-100000@calico.dreamhaven.net> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35190.938765814>