From owner-freebsd-bugs Mon Jul 8 12:20:20 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0A6937B400 for ; Mon, 8 Jul 2002 12:20:16 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29DDB43E3B for ; Mon, 8 Jul 2002 12:20:16 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020708192015.VBIT6023.sccrmhc02.attbi.com@blossom.cjclark.org>; Mon, 8 Jul 2002 19:20:15 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g68JKEJK034989; Mon, 8 Jul 2002 12:20:14 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g68JKDxu034988; Mon, 8 Jul 2002 12:20:13 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Mon, 8 Jul 2002 12:20:13 -0700 From: "Crist J. Clark" To: Peter Pentchev Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/39940: /usr/sbin/periodic sends thousands of emails Message-ID: <20020708122013.A34407@blossom.cjclark.org> Reply-To: "Crist J. Clark" References: <200206281050.g5SAo40M000627@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200206281050.g5SAo40M000627@freefall.freebsd.org>; from roam@ringlet.net on Fri, Jun 28, 2002 at 03:50:04AM -0700 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jun 28, 2002 at 03:50:04AM -0700, Peter Pentchev wrote: > The following reply was made to PR bin/39940; it has been noted by GNATS. > > From: Peter Pentchev > To: Guolin Cheng > Cc: bug-followup@FreeBSD.org > Subject: Re: bin/39940: /usr/sbin/periodic sends thousands of emails > Date: Fri, 28 Jun 2002 13:39:54 +0300 > > On Thu, Jun 27, 2002 at 05:28:21PM -0700, Guolin Cheng wrote: [snip] > > 3, the coufiguration file */periodic.conf, which contain variable > > definition entries including _{show|output|...}, will confuse > > Bourne Shell interpreter when the basedir contains character '.', > > which is normal for directory name but not appropriate for shell > > variable name substitution. > > One might argue that this may be solved by the "Don't do that" > approach.. An underscore character would serve just as well as a word > separator in the directory name. And this is also documented in periodic(8), BUGS Since one specifies information about a directory using shell variables containing the string, , must only contain characters that are valid within a sh(1) variable name, alphanumerics and under- scores, and the first character may not be numeric. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message