[Devel] Re: gentoo baselayout 1.13 openvz modifications

Roy Marples uberlord at gentoo.org
Fri Jan 26 08:02:15 PST 2007


On Mon, 22 Jan 2007 17:58:05 +0300
Kir Kolyshkin <kir at openvz.org> wrote:
> I was checking the stuff added to Gentoo's baselayout 1.13 to make it 
> compatible with VPS systems like Linux-VServer or OpenVZ.
> 
> Everything looks great, the only minor problem I found is this code
> in bootmisc:
> 
>         if [[ $(uname) == "Linux" ]]  && ! is_vps_sys ; then
>                 # BSD has it's own sysctl init script
>                 if [[ -e /etc/sysctl.conf ]] ; then
>                         ebegin $"Configuring kernel parameters"
>                         sysctl -q -p /etc/sysctl.conf
>                         eend $?
>                 fi
>         fi
> 
> The problem here is in OpenVZ some of sysctl variables are
> virtualized, i.e. you can set it from inside your VE. Usually this is
> not needed, and not too many people do that, but still if there
> is /etc/sysctl.conf people expect that it will be applied during VE
> start.

Hollow asked for that for a reason. I'll assume that he's on the
vserver-devs at gentoo.org mailing list and he'll tell me why.

Otherwise I have no problem with punting it myself.

Thanks

Roy




More information about the Devel mailing list