From owner-freebsd-jail@FreeBSD.ORG Fri Dec 14 16:57:43 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48210E04; Fri, 14 Dec 2012 16:57:43 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id AABCB8FC0A; Fri, 14 Dec 2012 16:57:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id qBEGvewq059499; Sat, 15 Dec 2012 03:57:40 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 15 Dec 2012 03:57:40 +1100 (EST) From: Ian Smith To: Glen Barber Subject: Re: misc/174436: Jails with numbers as names don't work In-Reply-To: <201212141600.qBEG01pV059901@freefall.freebsd.org> Message-ID: <20121215032140.S52305@sola.nimnet.asn.au> References: <201212141600.qBEG01pV059901@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-jail@freebsd.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 16:57:43 -0000 On Fri, 14 Dec 2012, Glen Barber wrote: > The following reply was made to PR misc/174436; it has been noted by GNATS. > > From: Glen Barber > To: Eitan Adler > Cc: Robert Schulze , > bug-followup > Subject: Re: misc/174436: Jails with numbers as names don't work > Date: Fri, 14 Dec 2012 10:58:15 -0500 > > --xgyAXRrhYN0wYx8y > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Fri, Dec 14, 2012 at 10:51:48AM -0500, Eitan Adler wrote: > > On 14 December 2012 10:13, Robert Schulze wrote: > >=20 > > >>Description: > > > When configuring jails with numbers as their names, one can't start a j= > ail named "0" (system panics) > >=20 > > This is not just a documentation bug. I'm concerned about the system > > panic here. > >=20 > > So am I, but I am the one that added the rc.conf(5) note about jail > names containing only alphanumeric characters. Back in my day, '0' was an alphanumeric character :) Should it be that jail names should begin with an alphabetic character? Or just not parse as numeric? Or is only '0' problematic? ie, is this just an rc.d parsing issue with substitution, or something deeper? /etc/defaults/rc.conf also has room for a half-line qualification: # NOTES: - # - replace 'example' with the jail's name. + # - replace 'example' with the jail's name, which must be $whatever Consulting Parameter 'name' in jail(8) leaves me none the wiser: if name defaults to jid if not supplied, are jids alphanumeric? confused, Ian