default setting in /etc/default/rc.conf
Olli Hauer
ohauer at gmx.de
Fri May 25 08:20:57 UTC 2007
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
More information about the freebsd-jail
mailing list