wrong vserver hostname
I just upgraded the vserver kernel in my test environment to 2.6.31-vs2.3.0.36.23. After rebooting the machine I recognized that the hostname of the host machine was set to the hostname of the last vserver started. Checking all vservers I found out that all had the same hostname.
A quick google search revealed, that I am not the only one having this problem: linux.derkeiler.com. But the search revealed no solution.
Afterwards I remembered that I masked util-vserver-0.30.216_pre2841 as I described in util-vserver-0.30.216_pre2841 vserver startup fails. So I removed the mask and installed the newer version of util-vserver. Afterwards everything was normal and the vservers, as well as the host machine had the correct hostnames.
It is important to use the version of util-vserver matching the vserver kernel version running. The vserver kernel 2.6.31-vs2.3.0.36.23 seems to work with util-vserver-0.30.216_pre2841 and the vserver-kernel 2.6.28-vserver-2.3.0.36.4 works with util-vserver-0.30.215-r3.
Jürgen
August 31st, 2010 at 5:03 am
Hi Juergen,
same prob. here. What do you mean by matching? The version numbers don’t match in any way. How do I know which kernel goes with which util-vserver?
Jan
September 1st, 2010 at 12:32 am
I did not write this clearly. Matching in this context only means versions that work together, not same version numbers. Finding out which versions work seems to be try and error, at least I was not able to find any “official” information regarding this. From checking my system I can say that util-vserver-0.30.216_pre2910 works with vserver-sources-2.3.0.36.31.