Zookeeper script contains invalid check for cygwin

Bug #952893 reported by Reuben Firmin
6
This bug affects 1 person
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-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)

Revision history for this message
Reuben Firmin (reubenf) wrote :
Revision history for this message
James Page (james-page) wrote :

This bug has already been resolved in the precise development release.

Raising tasks as appropriate and marking 'Fix Released' for precise.

Changed in zookeeper (Ubuntu Precise):
status: New → Fix Released
Changed in zookeeper (Ubuntu Oneiric):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in zookeeper (Ubuntu Oneiric):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.