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
diff --git a/zkCli.sh.orig b/zkCli.sh
index 7ab1fcc..6a865eb 100755
--- a/zkCli.sh.orig
+++ b/zkCli.sh
@@ -40,4 +40,4 @@ eval `grep -e "^dataDir=" $ZOOCFG`
java "-Dzookeeper.log.dir=${ZOO_LOG_DIR}" "-Dzookeeper.root.logger=${ZOO_LOG4J_PROP}" \
-cp $CLASSPATH $JVMFLAGS \
- org.apache.zookeeper.ZooKeeperMain $@
+ org.apache.zookeeper.ZooKeeperMain "$@"
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.