Package: zookeeper
Version: 3.3.4+dfsg1-1
Severity: important

Dear Maintainer, does not work because, unlike upstream ZooKeeper release,
$cygwin variable is not set by

$ sudo -u zookeeper /usr/share/zookeeper/bin/ start 
JMX enabled by default                                                          
Using config:/etc/zookeeper/conf/zoo.cfg                                        
/usr/share/zookeeper/bin/ 1: /usr/share/zookeeper/bin/ 
cygpath: not found                                                    
Using config:                                                                   
grep: : No such file or directory                                               
Starting zookeeper ... /usr/share/zookeeper/bin/ 103: 
/usr/share/zookeeper/bin/ cannot create / 
Permission denied                                                               

The following patch fixes the issue.

--- /usr/share/zookeeper/bin/   2011-11-30 19:50:33.000000000 
+++ /usr/share/zookeeper/bin/        2011-12-04 18:12:56.000000000 
@@ -70,15 +70,6 @@
     echo "Using config:$2" >&2
-if $cygwin
-    ZOOCFG=`cygpath -wp "$ZOOCFG"`
-    # cygwin has a "kill" in the shell itself, gets confused
-    KILL=/bin/kill
-    KILL=kill
 echo "Using config: $ZOOCFG" >&2
 if [ -z $ZOOPIDFILE ]
@@ -126,7 +117,7 @@
       echo "no zookeeper to stop (could not find file $ZOOPIDFILE)"
-      $KILL -9 $(cat "$ZOOPIDFILE")
+      kill -9 $(cat "$ZOOPIDFILE")
       rm "$ZOOPIDFILE"
       echo STOPPED

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

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages zookeeper depends on:
ii  adduser                                          3.113        
ii  default-jre-headless [java6-runtime-headless]    1:1.6-44     
ii  libzookeeper-java                                3.3.4+dfsg1-1
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b23~pre11-1 
ii  sun-java6-jre [java6-runtime-headless]           6.26-3       

zookeeper recommends no packages.

zookeeper suggests no packages.

-- no debconf information

This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to