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

The script /etc/xen-tools/role.d/editor has a #!/bin/sh bang line, however 
/bin/sh is linked to /bin/dash by default on squeeze and the script appears
to have a bashism - running it as part of xen-create-image returns an error:

/etc/xen-tools/role.d/editor: 87: Bad substitution

Changing the bang line to invoke bash appears to fix the above problem and
replace it with a more cosmetic one which still allows the script to work:

/etc/xen-tools/role.d/editor: line 80: logPrint: command not found


-- System Information:
Debian Release: 6.0.5
  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/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.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-17squeeze3 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-4    The Xen Hypervisor on AMD64
ii  xen-shell                     1.8-3      Console based Xen administration u

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-4    XEN administrative tools
pn  xfsprogs                      <none>     (no description available)

-- Configuration Files:
/etc/xen-tools/role.d/editor changed [not included]
/etc/xen-tools/xen-tools.conf changed [not included]
/etc/xen-tools/xm.tmpl changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to