Package: lxc
Version: 0.9.0~alpha2-4
Severity: normal

Dear Maintainer,

When /bin/sh is a symlink to /bin/dash, lxc-clone fails with the following
error:

/usr/bin/lxc-clone: 275: /usr/bin/lxc-clone: Bad substitution

The shebang is #!/bin/sh and /bin/sh is a link to /bin/dash (default on Debian
systems).

${line:0:18} is not valid in dash.

A fix is to change to change the shebang to #!/bin/bash or to replace the
mentioned expression by a valid dash expression like

$(expr substr $line 1 18)

Regards,

Julian



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.6.11 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lxc depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libapparmor1           2.7.103-4
ii  libc6                  2.13-38
ii  libcap2                1:2.22-1.2
ii  multiarch-support      2.13-38

Versions of packages lxc recommends:
ii  debootstrap  1.0.46
ii  libcap2-bin  1:2.22-1.2

Versions of packages lxc suggests:
pn  live-debconfig-doc  <none>
ii  rsync               3.0.9-4

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

-- debconf information excluded


-- 
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