From owner-freebsd-jail@FreeBSD.ORG Thu May 24 21:45:30 2007 Return-Path: X-Original-To: freebsd-jail@freebsd.org 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 7805816A421 for ; Thu, 24 May 2007 21:45:30 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1578D13C44B for ; Thu, 24 May 2007 21:45:29 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.2.126]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id l4OLjSU8029333; Thu, 24 May 2007 23:45:28 +0200 Date: Thu, 24 May 2007 23:45:28 +0200 From: Albert Shih To: Olli Hauer Message-ID: <20070524214528.GA77983@pcjas.obspm.fr> References: <1180033112.7242.18.camel@amd.uni.vrs> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1180033112.7242.18.camel@amd.uni.vrs> User-Agent: Mutt/1.5.14 (2007-02-12) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Thu, 24 May 2007 23:45:28 +0200 (CEST) X-Virus-Scanned: ClamAV version 0.90.2, clamav-milter version 0.90.2 on mesiob.obspm.fr X-Virus-Status: Clean Cc: freebsd-jail@freebsd.org Subject: Re: default setting in /etc/default/rc.conf X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2007 21:45:30 -0000 Le 24/05/2007 20:58:32+0200, Olli Hauer a écrit > This is one of the first patches i apply to all new systems, > because i dislike jail_set_hostname_allow in /etc/rc.conf.local > > > # diff /etc/defaults/rc.conf.orig /etc/defaults/rc.conf > 567c567 > < jail_set_hostname_allow="YES" # Allow root user in a jail to change > its hostname > --- > > jail_set_hostname_allow="NO" # Allow root user in a jail to change its > hostname Why you put that in the /etc/defaults/rc.conf ? Why you don't put this in the standard /etc/rc.conf where there're all config for your host. If you put in /etc/defaults/rc.conf when you make a mergemaster after a builworld/installworld you need to put again your «patch». Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Heure local/Local time: Thu May 24 23:43:37 CEST 2007