Package: lxc
Version: 0.8.0-1
Severity: important

Dear Maintainer,

/usr/bin/lxc-ps fails with the following:

# lxc-ps 
/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).

declare is a bash shell builtin but in dash.

A fix is to change to change the shebang to #!/bin/bash
There may be a dash fix but I have no experience with that shell.

Regards,

Gary


-- System Information:
Debian Release: wheezy/sid
  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.46
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.44
ii  libcap2-bin  1:2.22-1.2

lxc suggests no packages.

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


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

Reply via email to