From owner-freebsd-jail@FreeBSD.ORG Thu Mar 22 17:18:51 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 97C01106566B for ; Thu, 22 Mar 2012 17:18:51 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id E59488FC0A for ; Thu, 22 Mar 2012 17:18:50 +0000 (UTC) Received: (qmail invoked by alias); 22 Mar 2012 17:18:42 -0000 Received: from g230066166.adsl.alicedsl.de (EHLO [192.168.178.28]) [92.230.66.166] by mail.gmx.com (mp-eu001) with SMTP; 22 Mar 2012 18:18:42 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/SnxwN+QDSA5Ng42ztPJFDtECocLmwOlj+VRHJre xvCrs7DziMAVhk Message-ID: <4F6B5EE6.8080006@gmx.com> Date: Thu, 22 Mar 2012 18:18:30 +0100 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: FreeBSD-Jail Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: jail name is interpreted as jid when numeric X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2012 17:18:51 -0000 Hi, I found this somehow strange behavior and I am reporting it just to hear your opinions. > lab# jail -c name=asd persist > lab# jail -c name=asd.asd persist asd is interpreted as jail asd.asd > lab# jail -c name=asd.asd.1 persist > jail: jail 1 already exists 1 is interpreted as jail 1 This has to do with the fact that a numeric name is interpreted as jid and this breaks the dot-seperated hierarchical jails concept. I find this behavior somehow strange. Is it intended or it's bug? Thanks for your insights, Nikos