From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 31 18:12:04 2007 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3939616A408; Wed, 31 Jan 2007 18:12:04 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2888313C48D; Wed, 31 Jan 2007 18:12:04 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 086241A4D81; Wed, 31 Jan 2007 10:12:04 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5DF6D513E1; Wed, 31 Jan 2007 13:11:52 -0500 (EST) Date: Wed, 31 Jan 2007 13:11:52 -0500 From: Kris Kennaway To: Remko Lodder Message-ID: <20070131181151.GA94000@xor.obsecurity.org> References: <200701311800.l0VI0saD004609@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701311800.l0VI0saD004609@freefall.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-bugs@FreeBSD.org Subject: Re: conf/108611: An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 18:12:04 -0000 On Wed, Jan 31, 2007 at 06:00:55PM +0000, Remko Lodder wrote: > The following reply was made to PR conf/108611; it has been noted by GNATS. > > From: Remko Lodder > To: TAOKA Fumiyoshi > Cc: FreeBSD-gnats-submit@FreeBSD.org > Subject: Re: conf/108611: An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate. > Date: Wed, 31 Jan 2007 19:02:14 +0100 > > TAOKA Fumiyoshi wrote: > > An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate. > > > >> How-To-Repeat: > >> Fix: > > > > Index: 310.locate > > =================================================================== > > RCS file: /home/ncvs/src/etc/periodic/weekly/310.locate,v > > retrieving revision 1.6 > > diff -u -r1.6 310.locate > > --- 310.locate 14 Sep 2000 17:19:13 -0000 1.6 > > +++ 310.locate 31 Jan 2007 16:04:30 -0000 > > @@ -23,7 +23,7 @@ > > chmod 644 $locdb || rc=3 > > > > cd / > > - echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 > > + echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3 > > chmod 444 $locdb || rc=3;; > > > > *) rc=0;; > > > > It is depricated, not obsolete: "Deprecated" means "obsolete and may be removed at some point in the future". The submitter is correct that deprecated features should not be used in current code. Kris