[Bug 952893] [NEW] Zookeeper script contains invalid check for cygwin

Reuben Firmin launchpad at flavor8.com
Mon Mar 12 11:20:47 UTC 2012


Public bug reported:

The zkserver script contains:


if $cygwin
then
    ZOOCFG=`cygpath -wp "$ZOOCFG"`
    # cygwin has a "kill" in the shell itself, gets confused
    KILL=/bin/kill
else
    KILL=kill
fi


cygwin is not defined in my shell or in the script. Due to the mysteries of sh, it thus decides to enter the then block, and fails on line 68.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: zookeeper 3.3.3+dfsg2-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-16.28-generic-pae 3.0.17
Uname: Linux 3.0.0-16-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Mar 12 07:16:58 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: zookeeper
UpgradeStatus: Upgraded to oneiric on 2012-03-10 (2 days ago)

** Affects: zookeeper (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to zookeeper in Ubuntu.
https://bugs.launchpad.net/bugs/952893

Title:
  Zookeeper script contains invalid check for cygwin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zookeeper/+bug/952893/+subscriptions



More information about the Ubuntu-server-bugs mailing list