Date: Fri, 25 May 2007 10:20:50 +0200 From: Olli Hauer <ohauer@gmx.de> To: Albert.Shih@obspm.fr Cc: freebsd-jail@freebsd.org Subject: Re: default setting in /etc/default/rc.conf Message-ID: <1180081250.1000.23.camel@amd.uni.vrs> In-Reply-To: <20070524214528.GA77983@pcjas.obspm.fr> References: <1180033112.7242.18.camel@amd.uni.vrs> <20070524214528.GA77983@pcjas.obspm.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2007-05-24 at 23:45 +0200, Albert Shih wrote: > 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. > In my case i have a build system for about 20+ hosts for deploy, OS rebuilding, kernels, patches, ports ... I also have other patches that are applied to the source, for example modified periodic scripts ... (take a look how many good patches sleep years as PR). The real question about this patch is. Why should i allow a user to change the Jail hostname for default? Try to kill a process in a jail from the base system after the hostname is changed from inside the jail. -- olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1180081250.1000.23.camel>