package bayonne 1.2.16-6build2 failed to install/upgrade: exit: 288: Illegal number: -1

Bug #285210 reported by tjk
6
Affects Status Importance Assigned to Milestone
bayonne (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: bayonne

bayonne 1.2.16 can't be uninstalled when no instance is running and default shell is dash.
When no instance is running the bayonne script exists with a value of -1 which is illegal for dash.

Architecture: amd64
Date: Fri Oct 17 01:03:10 2008
DistroRelease: Ubuntu 8.04
Package: bayonne 1.2.16-6build2
PackageArchitecture: amd64
SourcePackage: bayonne

:: Workaround ::
Set default shell to bash which accepts -1 as a value to exit.

Revision history for this message
tjk (tim-klassen) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The error is in the bayonne control script in version 1.2.16 of Gutsy. This occurs when the control script want to stop the server and no instance is running. It the tries to exit with a value of -1 which is illegal for the default shell dash

I'm confirming but it's probably a won't fix.

A quick and dirty workaround is to change the default shell to bash or edit the bayonne script and change the first line to bash.

Changed in bayonne:
status: New → Confirmed
description: updated
Revision history for this message
tjk (tim-klassen) wrote :

Can you tell me the name of the bayonne script, as I am unable to locate it to change make the changes to the first line.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The faulty script is /usr/sbin/bayonne

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Other bashisms

possible bashism in bayonne line 106 (should be 'b = a'):
 if test "$mode" == "--depend" ; then
possible bashism in bayonne line 197 (should be 'b = a'):
 if test "$2" == "up"

Changed in bayonne:
importance: Undecided → High
status: Confirmed → Triaged
Revision history for this message
David Futcher (bobbo) wrote :

Is this still an issue for anyone? I have no problems installing bayonne 2.3.2-3ubuntu1 from Lucid. If this is still an issue for anyone, please shout.

Changed in bayonne (Ubuntu):
importance: High → Medium
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for bayonne (Ubuntu) because there has been no activity for 60 days.]

Changed in bayonne (Ubuntu):
status: Incomplete → Expired
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.