Package: xen-tools
Version: 3.9-3
Followup-For: Bug #484652

When the root device is selected to be a LVM partion, xen-create-image 
installes the new virtual machine but the resulting configuration file 
/etc/xen/xndebian50.cfg cannot be used to start the virtual machine. These are 
the changes required to make it work:
########
$ diff xndebian50.cfg_orig xndebian50.cfg
16,19c16,17
< disk        = [
<                   ',sda1,w',
<               ]
< 
---
> disk        = [ 'phy:/dev/vgxen/lvdebian50,sda1,w' ]
> root        = '/dev/sda1 ro'
########

It seems that the `xen-create-image' perl script is not fully compatible with 
perl 5.10 since it's showing some warning at the beggining and at the end of 
the execution:
########
Root Device    :  /dev/mapper/vgxen-lvdebian50
Use of uninitialized value in string ne at /usr/bin/xen-create-image line 2197.
Use of uninitialized value in sprintf at /usr/bin/xen-create-image line 2197.
Use of uninitialized value in sprintf at /usr/bin/xen-create-image line 2197.
Use of uninitialized value in sprintf at /usr/bin/xen-create-image line 2197.
Partitions     :                        ()
Image type     :  full

[..]
No role scripts were specified.  Skipping

Creating Xen configuration file
Use of uninitialized value in string eq at /etc/xen-tools/xm.tmpl line 27.
Use of uninitialized value in concatenation (.) or string at 
/etc/xen-tools/xm.tmpl line 35.
Use of uninitialized value in concatenation (.) or string at 
/etc/xen-tools/xm.tmpl line 35.
Done
All done
########

Thanks


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-etchnhalf.1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.10     Bootstrap a basic Debian system
ii  libconfig-inifiles-perl       2.39-5     Read .ini-style configuration file
ii  libtext-template-perl         1.44-1.2   Text::Template perl module
ii  perl-modules                  5.10.0-13  Core Perl modules

Versions of packages xen-tools recommends:
ii  libexpect-perl                1.20-1     Expect.pm - Perl Expect interface
ii  reiserfsprogs                 1:3.6.19-6 User-level tools for ReiserFS file
ii  rinse                         1.3-2      RPM installation environment
ii  xen-hypervisor-3.2-1-i386 [xe 3.2.1-2    The Xen Hypervisor on i386
ii  xen-shell                     1.8-4      Console based Xen administration u
ii  xfsprogs                      2.9.8-1    Utilities for managing the XFS fil

xen-tools suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to