From owner-freebsd-stable@FreeBSD.ORG Sun Oct 24 12:50:08 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1B37106566B for ; Sun, 24 Oct 2010 12:50:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 49BAD8FC14 for ; Sun, 24 Oct 2010 12:50:08 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id B1AEB41C752; Sun, 24 Oct 2010 14:50:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id wfhjmXf4rMyg; Sun, 24 Oct 2010 14:50:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id D6C6941C750; Sun, 24 Oct 2010 14:50:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id DC0C244496D; Sun, 24 Oct 2010 12:45:12 +0000 (UTC) Date: Sun, 24 Oct 2010 12:45:12 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Spil Oss In-Reply-To: Message-ID: <20101024123928.Q66242@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Name and JID support in /etc/rc.d/jail and jail(8) documentation X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-jail@freebsd.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 12:50:08 -0000 On Sun, 24 Oct 2010, Spil Oss wrote: Hi, > Created a small patch for 8.1 to add name support to /etc/rc.d/jail. > This doesn't upgrade /etc/rc.d/jail to the overhauled invocation of > 8.0 but merely adds the ability to set a jail's name on start which > was added in FreeBSD 7.2 (May 2009). > > Could this patch be considered to be applied to stable? > > # diff -ruN /etc/rc.d/jail-8.1 /etc/rc.d/jail [snip] short answer: no 1) add -n to the defaults of jail__flags in rc.conf and be done just now. No need for a new variable. 2) you want to follow the new jail management on the freebsd-jail list. I would expect that there will just be no further changes to the rc script unless security related ones. > On Sun, Oct 24, 2010 at 10:52 AM, Spil Oss wrote: >> Hi All, >> >> When starting a jail you can, as of 8.0 if I'm not mistaken, set the >> JID and name for a jail. This change doesn't seem to have been >> incorporated into the /etc/rc.d/jail script? Looking at >> http://wiki.polymorf.fr/index.php/Howto:FreeBSD_jail_vnet it wouldn't >> be a huge change to add name support. The other additions in that >> script look a lot more intrusive. Are there any plans to merge this >> patch into the jail rc-script or is this "v2" style of jail invocation >> still considered to be experimental? As of 8.1 is seems to no longer >> be considered experimental looking at the release notes. The new style version was never considered "experimental". It wasn't just not advertised that much due to the lack of 2) above. >> The jail(8) documentation (mine lists FreeBSD 8.1 January 17, 2010) >> seems to be missing documentation on the vnet command (due to the >> experimental status)? Right, vnets are still considered experimental. /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html