From owner-freebsd-bugs Sat Jan 30 04:48:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA21934 for freebsd-bugs-outgoing; Sat, 30 Jan 1999 04:48:57 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from bbs.mpcs.com (bbs.mpcs.com [209.101.88.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA21929 for ; Sat, 30 Jan 1999 04:48:54 -0800 (PST) (envelope-from hg@cally.n2wx.ampr.org) Received: from pickle.n2wx.ampr.org (cc1017255-a.srst1.fl.home.com [24.3.122.197]) by bbs.mpcs.com (8.8.8/8.8.8/MPCS spamzap) with ESMTP id HAA18927 for ; Sat, 30 Jan 1999 07:48:42 -0500 Received: (from root@localhost) by pickle.n2wx.ampr.org (8.9.2/8.8.2/n2wx) id HAA03827 for FreeBSD-bugs@freebsd.org; Sat, 30 Jan 1999 07:48:40 -0500 (EST) Received: from cally.south.mpcs.com (cally.n2wx.ampr.org [172.16.0.6]) by pickle.n2wx.ampr.org (8.9.2/8.9.2/n2wx) with ESMTP id HAA03819 for ; Sat, 30 Jan 1999 07:48:03 -0500 (EST) (envelope-from hg@cally.n2wx.ampr.org) Received: (from hg@localhost) by cally.south.mpcs.com (8.9.2/8.9.1) id HAA14978; Sat, 30 Jan 1999 07:48:02 -0500 (EST) (envelope-from hg) Date: Sat, 30 Jan 1999 07:48:02 -0500 (EST) Message-Id: <199901301248.HAA14978@cally.south.mpcs.com> To: FreeBSD-bugs@FreeBSD.ORG Subject: locate.updatedb is noisy From: hgoldste@bbs.mpcs.com X-send-pr-version: 3.2 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Howard Goldstein >Organization: >Confidential: no >Synopsis: locate.updatedb is noisy >Severity: non-critical >Priority: low >Category: <[ bin | conf | docs | gnu | i386 | kern | misc | ports ]> conf >Release: FreeBSD 3.0-STABLE i386 >Class: sw-bug >Environment: FreeBSD cally.south.mpcs.com 3.0-STABLE FreeBSD 3.0-STABLE #7: Thu Jan 28 21:48:17 EST 1999 hg@cally.south.mpcs.com:/usr/src/sys/compile/CALLY i386 cally:~$ ident /usr/libexec/locate.updatedb /usr/libexec/locate.updatedb: $Id: updatedb.sh,v 1.12 1998/11/29 14:46:35 wosch Exp $ >Description: /usr/libexec/locate.updatedb echos a spurious echo $? near its end. Nothing appears to use it but it winds up in the periodic report as bit fluff see the 'echo 0' near the end of this trace cally: {3} sh -x /usr/libexec/locate.updatedb + LOCATE_CONFIG=/etc/locate.rc + [ -f /etc/locate.rc -a -r /etc/locate.rc ] + . /etc/locate.rc + : /usr/libexec + export LIBEXECDIR + : /tmp + export TMPDIR + mktemp -d /tmp/locateXXXXXX + TMPDIR=/tmp/locateo14422 + PATH=/usr/libexec:/bin:/usr/bin:/usr/cally/home/hg/bin:/bin:/usr/bin:/usr/game s:/usr/local/bin:/usr/X11R6/bin + export PATH + : locate.mklocatedb + : /var/db/locate.database + : / + : /tmp /usr/tmp /var/tmp + : ufs + : find + excludes=! ( or= + excludes=! ( -fstype ufs + or=-or + excludes=! ( -fstype ufs ) -prune + excludes=! ( -fstype ufs ) -prune -or -path /tmp -prune + excludes=! ( -fstype ufs ) -prune -or -path /tmp -prune -or -path /usr/tmp -p rune + excludes=! ( -fstype ufs ) -prune -or -path /tmp -prune -or -path /usr/tmp -p rune -or -path /var/tmp -prune + tmp=/tmp/locateo14422/_updatedb14420 + trap rm -f $tmp; rmdir $TMPDIR 0 1 2 3 5 10 15 + find -s / ! ( -fstype ufs ) -prune -or -path /tmp -prune -or -path /usr/tmp -p rune -or -path /var/tmp -prune -or -print + locate.mklocatedb -presort + find /tmp/locateo14422/_updatedb14420 -size -257c -print + cat /tmp/locateo14422/_updatedb14420 + echo 0 0 + rm -f /tmp/locateo14422/_updatedb14420 + rmdir /tmp/locateo14422 cally: {4} >How-To-Repeat: su sh -x /etc/periodic/weekly/310.locate >Fix: *** /usr/libexec/locate.updatedb.orig Sat Jan 30 07:39:58 1999 --- /usr/libexec/locate.updatedb Sat Jan 30 07:40:04 1999 *************** *** 86,89 **** exit 1 esac fi - echo $? --- 86,88 ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message