Package: xen-tools Version: 3.9-4 Severity: minor
When xen-create-image makes a new xen domain and no mac address for the virtual NIC of the domain is provided, it tries to create one at random. These are the lines doing the job: foreach my $key (qw/ hostname ip dhcp dist /) { $hash .= $CONFIG{ $key } if ( $CONFIG{ $key } ); } Since $CONFIG{'dhcp'} is an array reference, the hashed string will look like this: "mydomainARRAY(0x604d80)lenny" hostname and debian distribution are hashed but the ip isn't - just the ip's position in main memory (which is usually always the same). Possible solution: Replace these three lines by $hash=$CONFIG{'hostname'}; if ( $CONFIG{'ip'} ) { $hash .= join('.',@{$CONFIG{'ip'}}); } if ( $CONFIG{'dhcp'} ) { $hash .= $CONFIG{'dhcp'}; } $hash .= $CONFIG{'dist'}; Regards, Frank Burkhardt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org