Zookeeper script contains invalid check for cygwin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zookeeper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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-
ProcVersionSign
Uname: Linux 3.0.0-16-
NonfreeKernelMo
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)
PackageArchitec
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)
This bug has already been resolved in the precise development release.
Raising tasks as appropriate and marking 'Fix Released' for precise.