Package: xen-tools
Version: 4.2-1
Severity: normal
Tags: patch
According to xen-create-image(8) if --ip is passed multipe times then the
first IP is used as the "system" IP and the rest are used as aliases. What
actually happens is the last IP is the "system" IP and all other IP's are
silently ignored.
The following patch corrects this behavior.
--- xen-create-image.old 2011-12-13 16:00:56.000000000 -0800
+++ xen-create-image 2011-12-13 16:27:16.000000000 -0800
@@ -1643,7 +1643,12 @@
(ref $check eq 'CODE' and &$check( $value ) )
) {
# Option did validate, copy it
- $CONFIG{ $option } = $value;
+ if ( $option eq "ip" )
+ {
+ push @{ $CONFIG{ $option } }, $value;
+ } else {
+ $CONFIG{ $option } = $value;
+ }
} else {
# Option did _not_ validate
die "ERROR: '$option' argument " . $types{ $type }{ 'message' };
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xen-tools depends on:
ii debootstrap 1.0.26+squeeze1 Bootstrap a basic Debian system
ii libconfig-inifiles-per 2.52-1 Read .ini-style configuration file
ii libfile-slurp-perl 9999.13-1 single call read & write file rout
ii libtext-template-perl 1.45-1 Text::Template perl module
ii perl-modules 5.10.1-17squeeze2 Core Perl modules
Versions of packages xen-tools recommends:
ii libexpect-perl 1.20-2 Expect.pm - Perl Expect interface
ii rinse 1.7-1 RPM installation environment
ii xen-hypervisor-4.0-amd64 [xen 4.0.1-2 The Xen Hypervisor on AMD64
pn xen-shell <none> (no description available)
Versions of packages xen-tools suggests:
pn btrfs-tools <none> (no description available)
pn cfengine2 <none> (no description available)
pn evms-cli <none> (no description available)
pn reiserfsprogs <none> (no description available)
ii xen-utils-4.0 [xen-utils] 4.0.1-2 XEN administrative tools
pn xfsprogs <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]