OpenVZ Forum


Home » Mailing lists » Devel » gentoo baselayout 1.13 openvz modifications
gentoo baselayout 1.13 openvz modifications [message #9789] Mon, 22 January 2007 14:58 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Hello,

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.

Surely this is minor problem and it does not cry for fixing it now.
Still, at the very least it would be helpful to add FIXME or TODO-like
comment in the code.

Regards,
Kir.


PS version checked is baselayout-1.13.0_alpha12
 
Read Message
Read Message
Read Message
Previous Topic: Re: + user-ns-implement-user-ns-unshare-remove-config_user_ns.patch added to -mm tree
Next Topic: [PATCH 0/59] Cleanup sysctl
Goto Forum:
  


Current Time: Sun Sep 01 03:23:43 GMT 2024

Total time taken to generate the page: 0.05886 seconds