OpenVZ Forum


Home » General » Support » Changed gentoo-add_ip.sh to work with baselayout-vserver-1.11.14-r3
Re: Changed gentoo-add_ip.sh to work with baselayout-vserver-1.11.14-r3 [message #1986 is a reply to message #1985] Sat, 11 March 2006 14:33 Go to previous messageGo to previous message
steffen.zieger is currently offline  steffen.zieger
Messages: 43
Registered: February 2006
Location: Germany, Stuttgart
Member
So, updating to baselayout-1.12 will 'fix' the error with dev venet0, but there is no backwards compatibility.

For example, vzctl will be updated to fix this error, it's not working with baselayout-1.12. If vzctl is not fixing this error, it's not working with baselayout-1.11.

What about telling the baselayout-vserver people on gentoo, trying to fix this bug with a check, if there is 'dev venet0' added in the routes-line and printing out a message to the user?
So it is the user, who is responsible for fixing it in /etc/conf.d/net (removing dev venet0 in case of baselayout-1.12).

Another way of fixing this is checking via emerge which baselayout-version is installed before adding the ip. I think it should be possible to check via vzctl exec VPSID 'emerge -s baselayout-vserver |grep installed |cut -d: -f 2|cut -d" " -f 2' and doing the needed things in gentoo-add_ip.sh.

Maybe there is an easier way of doing the same, I'm trying to get it to work.

HTH,
Steffen
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multicast support
Next Topic: 64Bit CPU Required for high RAM OpenVZ Servers?
Goto Forum:
  


Current Time: Sat Jul 13 04:23:46 GMT 2024

Total time taken to generate the page: 0.02299 seconds