From fmysh@quad.dyndns.org  Wed Jan 31 17:17:00 2007
Return-Path: <fmysh@quad.dyndns.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id BA12616A402
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 Jan 2007 17:17:00 +0000 (UTC)
	(envelope-from fmysh@quad.dyndns.org)
Received: from xeon.quad.dyndns.org (228.142.138.210.bn.2iij.net [210.138.142.228])
	by mx1.freebsd.org (Postfix) with ESMTP id 9083613C4A5
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 31 Jan 2007 17:17:00 +0000 (UTC)
	(envelope-from fmysh@quad.dyndns.org)
Received: by xeon.quad.dyndns.org (Postfix, from userid 1001)
	id 5FAD715345E; Thu,  1 Feb 2007 01:45:11 +0900 (JST)
Message-Id: <20070131164511.5FAD715345E@xeon.quad.dyndns.org>
Date: Thu,  1 Feb 2007 01:45:11 +0900 (JST)
From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Reply-To: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Subject: An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         108611
>Category:       conf
>Synopsis:       [patch] An obsolete nice(1) syntax is left in etc/periodic/weekly/310.locate.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 31 17:20:16 GMT 2007
>Closed-Date:    Wed Mar 07 13:47:03 GMT 2007
>Last-Modified:  Wed Mar 07 13:47:03 GMT 2007
>Originator:     TAOKA Fumiyoshi
>Release:        
>Organization:
>Environment:
>Description:
	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;;

>Release-Note:
>Audit-Trail:

From: Remko Lodder <remko@FreeBSD.org>
To: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
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:
 
 COMPATIBILITY
       The traditional -increment option has been deprecated but is still 
 sup-
       ported.
 
 (nice -5 still works)
 
 -- 
 Kind regards,
 
       Remko Lodder               ** remko@elvandar.org
       FreeBSD                    ** remko@FreeBSD.org
 
       /* Quis custodiet ipsos custodes */

From: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
To: remko@FreeBSD.org
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: conf/108611: An obsolete nice(1) syntax is left in	etc/periodic/weekly/310.locate.
Date: Fri, 2 Feb 2007 00:14:51 +0900

 Thank you for pointing out.
 I misused the term.
 
 
 On 2007/02/01, at 3:02, Remko Lodder wrote:
 
 > 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:
 >
 > COMPATIBILITY
 >      The traditional -increment option has been deprecated but is  
 > still sup-
 >      ported.
 >
 > (nice -5 still works)
 >
 > -- 
 > Kind regards,
 >
 >      Remko Lodder               ** remko@elvandar.org
 >      FreeBSD                    ** remko@FreeBSD.org
 >
 >      /* Quis custodiet ipsos custodes */
 >
 
Responsible-Changed-From-To: freebsd-bugs->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Feb 21 10:34:57 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108611 
State-Changed-From-To: open->patched 
State-Changed-By: remko 
State-Changed-When: Fri Feb 23 18:46:11 UTC 2007 
State-Changed-Why:  
I committed this to HEAD moments ago and I will commit this 
to RELENG_6 (5) in a few days. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108611 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/108611: commit references a PR
Date: Fri, 23 Feb 2007 18:44:25 +0000 (UTC)

 remko       2007-02-23 18:44:21 UTC
 
   FreeBSD src repository
 
   Modified files:
     etc/periodic/weekly  310.locate 
   Log:
   Move to the preferred syntax for nice (-n) instead
   of the depricated one.
   
   PR:             conf/108611
   Submitted by:   TAOKA Fumiyoshi <fmysh at iijmio-mail dot jp>
   Approved by:    imp (mentor)
   
   Revision  Changes    Path
   1.7       +2 -2      src/etc/periodic/weekly/310.locate
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/108611: commit references a PR
Date: Tue,  6 Mar 2007 18:27:30 +0000 (UTC)

 remko       2007-03-06 18:27:24 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     etc/periodic/weekly  310.locate 
   Log:
   MFC 310.locate rev 1.7
   
     Move to the preferred syntax for nice (-n) instead
     of the depricated one.
   
     PR:             conf/108611
     Submitted by:   TAOKA Fumiyoshi <fmysh at iijmio-mail dot jp>
     Approved by:    imp (mentor)
   
   Approved by:    imp (mentor)
   
   Revision  Changes    Path
   1.6.14.1  +2 -2      src/etc/periodic/weekly/310.locate
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Wed Mar 7 13:47:01 UTC 2007 
State-Changed-Why:  
The patch has been committed to -HEAD and 6-STABLE, thanks for the 
submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108611 
>Unformatted:
