Package: lxc
Version: 0.9.0~alpha2-1
Severity: important

Dear Maintainer,

This is a repeat of closed bug #694448 - the fix to that bug report has been
reverted.

Issue is:

# lxc-ps
/usr/bin/lxc-ps: 64: /usr/bin/lxc-ps: [[: not found
/usr/bin/lxc-ps: 100: /usr/bin/lxc-ps: declare: not found
/usr/bin/lxc-ps: 104: /usr/bin/lxc-ps: Syntax error: "(" unexpected (expecting
"fi")


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

[[ is not valid in dash. declare is a bash shell builtin but not in dash.

A fix is to change to change the shebang to #!/bin/bash

Regards,

Gary



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

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
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-37
ii  libcap2                1:2.22-1.2
ii  multiarch-support      2.13-37

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

Versions of packages lxc suggests:
ii  rsync  3.0.9-4

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

-- debconf information:
  lxc/shutdown: /usr/bin/lxc-halt
* lxc/directory: /lxc
  lxc/title:
  lxc/auto: true


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