From owner-freebsd-rc@FreeBSD.ORG Thu Apr 6 22:22:05 2006 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 195D016A402; Thu, 6 Apr 2006 22:22:05 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id D437643D62; Thu, 6 Apr 2006 22:21:58 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 40FD411969; Fri, 7 Apr 2006 00:21:57 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 89034-03; Fri, 7 Apr 2006 00:21:46 +0200 (CEST) Received: from [193.120.13.131] (unknown [193.120.13.131]) by smtp.xbsd.org (Postfix) with ESMTP id 5B9E6114B8; Fri, 7 Apr 2006 00:21:45 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Florent Thoumie Date: Thu, 6 Apr 2006 23:21:41 +0100 To: freebsd-rc@FreeBSD.org X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: amavisd-new at xbsd.org Cc: simon@FreeBSD.org Subject: rc.d/jail patch for test/review X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 22:22:05 -0000 This patch creates jail general options shared by all jails while keeping the ability to override the value on a per-jail basis (discussed with simon on IRC). Example is: jail_mount_enable=3D"YES" jail_foo_mount_enable=3D"NO" It also adds the ability to automatically add (and remove) the IP alias for each jail (jail_interface/jail_foo_interface). http://people.freebsd.org/~flz/local/rc.d-jail.diff Even if the patch is quite simple, I haven't tried it yet, so testing is more than welcome. -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer