Bug#661837: zookeeper: zkCli.sh script quoting issue

John Eikenberry jae at zhar.net
Thu Mar 1 18:55:58 UTC 2012


Package: zookeeper
Version: 3.3.4+dfsg1-3
Severity: normal
Tags: patch

The zkCli.sh script included in the package doesn't quote its parameters
correctly when passing them on to the java program. This causes issues with
arguments with spaces and such. I've attached a patch, but it is just adding
""s to the $@ on the last line of the script.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zookeeper depends on:
ii  adduser                                          3.113+nmu1
ii  default-jre-headless [java6-runtime-headless]    1:1.6-46
ii  libzookeeper-java                                3.3.4+dfsg1-3
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b24~pre2-1

zookeeper recommends no packages.

zookeeper suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zkcli-quote.patch
Type: text/x-diff
Size: 370 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120301/cdb8369c/attachment.patch>


More information about the pkg-java-maintainers mailing list