[Pkg-xen-devel] Bug#432583: xen-utils-common: "xendomains stop" won't save domains which name starts with "Name"

Marcos Dione mdione at except.com.ar
Tue Jul 10 18:27:04 UTC 2007


Package: xen-utils-common
Version: 3.0.3-0-2
Severity: normal


	xendomains saves the active domains when shutting down. it get the 
list of active domains from the following command[1]:

xm list | grep -v '^Name'

	the output of "xm list" is like:

lichen:~# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      748     1 r-----   1125.9
apache.lichen                             13       64     1 -b----      0.4
www.achuni.com.ar.xen                     14       64     1 -b----     22.7
www.dione.com.ar.xen                      15       64     1 -b----     17.6
www.xarope.org.ar.xen                     17       64     1 -b----     17.3

	so, if a domain has a name that starts with "Name", it won't be 
processed. this same bug can be found in the functions is_running()[2],
all_zombies()[3] and check_domain_up()[4].

--
[1] /etc/init.d/xendomains:326
[2] /etc/init.d/xendomains:149
[3] /etc/init.d/xendomains:215
[4] /etc/init.d/xendomains:359

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)

Versions of packages xen-utils-common depends on:
ii  lsb-base                      3.1-23.1   Linux Standard Base 3.1 init scrip
ii  udev                          0.105-4    /dev/ and hotplug management daemo

xen-utils-common recommends no packages.

-- no debconf information




More information about the Pkg-xen-devel mailing list