Package: xen-tools
Version: 4.2-1
Severity: normal

        Support for domU creation using btrfs is broken. If you try to use it
("--fs btrfs"), xen-create-image exits with the message:

        The filesystem creation hash is bogus for filesystem : btrfs

        The problem lies in this check (line 3382):

        if ( $command =~ /([^ ]+) (.*)$/ )

        This supposes that $command will conform to "command -o option",
but $CONFIG{make_fs_btrfs} is defined thus:

        $CONFIG{ 'make_fs_btrfs' }    = 'mkfs.btrfs';

        And it fails. I've fixed it changing "mkfs.btrfs" for "mkfs.btrfs -d
single", which is the nearest to a "no-op" that I've found :-) Ideally,
though, the check above should be made a little more intelligent so it picked
up mkfs.btrfs without arguments too.

        Thanks in advance.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
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) (ignored: LC_ALL 
set to es_ES.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-tools depends on:
ii  debootstrap                   1.0.26     Bootstrap a basic Debian system
ii  libconfig-inifiles-perl       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-16  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-1    The Xen Hypervisor on AMD64
pn  xen-shell                     <none>     (no description available)

Versions of packages xen-tools suggests:
ii  btrfs-tools              0.19+20100601-3 Checksumming Copy on Write Filesys
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-1         XEN administrative tools
pn  xfsprogs                 <none>          (no description available)

-- Configuration Files:
/etc/xen-tools/xen-tools.conf changed [not included]

-- no debconf information



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

Reply via email to