[xen-tools] Re: domU save-state issue with xen-tools & long hostnames

Henning Sprang henning_sprang at gmx.de
Tue Oct 2 15:54:00 CEST 2007


On 9/30/07, Graham Freeman <graham.freeman at cernio.com> wrote:
> [...]
> This resulted in the hostname on the virtual machine being set to
> "amphibia.longcompanyname.com", which is also how Xen saw it for
> virtual machine management purposes.  Unfortunately, that's too long
> for Xen, and it handles the situation poorly.

This is a known bug in the /etc/init.d/xendomains script - the parseln
function uses a hardcoded value (something like 17 chars) instead of
using spaces as separators, to get the hostname from screenscraping
xm.

The problem is fixed in Xen unstable upstream(with a pervetedly long
patch)  and in newer Debian(unstable) xen packages, as well as in the
xen 3.1 packages from debianbase (with a simple and very short patch).

Henning





More information about the xen-tools-discuss mailing list