From owner-freebsd-bugs Mon Dec 4 14:20: 5 2000 From owner-freebsd-bugs@FreeBSD.ORG Mon Dec 4 14:20:01 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 53C1637B401 for ; Mon, 4 Dec 2000 14:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB4MK1G14192; Mon, 4 Dec 2000 14:20:01 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 4 Dec 2000 14:20:01 -0800 (PST) Resent-Message-Id: <200012042220.eB4MK1G14192@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, Shawn Halpenny Received: from zeus.lpa.com (mail.lpa.com [12.3.233.134]) by hub.freebsd.org (Postfix) with ESMTP id 54F0437B400 for ; Mon, 4 Dec 2000 14:17:30 -0800 (PST) Received: from xelus.com ([10.4.5.232]) by zeus.lpa.com (Netscape Messaging Server 4.15) with ESMTP id G52DVT00.B2X for ; Mon, 4 Dec 2000 17:16:41 -0500 Message-Id: <20001204171716.A70636@nightrain.xelus.com> Date: Mon, 4 Dec 2000 17:17:16 -0500 From: Shawn Halpenny Reply-To: Shawn Halpenny To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/23284: locate database does not get rebuilt Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23284 >Category: misc >Synopsis: locate database does not get rebuilt >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 04 14:20:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Shawn Halpenny >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: FreeBSD nightrain.xelus.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Nov 30 14:50:13 EST 2000 toor@nightrain.xelus.com:/usr/obj/usr/src/sys/NIGHTRAIN i386 >Description: Something has changed in /usr/src/usr.bin/locate/locate/updatedb.sh that causes the weekly building of the locate database to fail. By removing the '-s' switch to the find command, I'm able to get it to work. AFAIK, it's been like this for a while but this is the first (small) look I've taken at why it was failing. Unfortunately, the CVS repo shows that this file hasn't been touched in 10 months. Maybe the problem is actually with 'find'? >How-To-Repeat: Run 'periodic weekly'. Note that the resulting /var/db/locate.database is very small. >Fix: Workaround: Remove '-s' from the find command in /usr/libexec/locate.updatedb . >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message