Wackamole dumps core when peer is added or removed from group, if not currently assigned to virtual ip address and hostname assigned 127.0.1.1 in /etc/hosts

Bug #788135 reported by Eric Williams
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wackamole (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: wackamole

## Issue

* wackamole Aborts with "Assertion `ret == My.num_allocated' failed." when IP address requires failover

* Wackamole dumps core when peer is added or removed from group, if not currently assigned to virtual ip address

* wackamole daemon exits if not currently assigned to virtual ip address and another peer enters or exits the group

## Environment

* Lucid 10.04.2

* wackamole 2.1.1-3.1

* hostname defined as "127.0.1.1" in /etc/hosts (default)

## Resolution

* (workaround) remove the 127.0.1.1 from /etc/hosts from all machines in the group, and it seems to work

## Diagnostic Steps

* install and configure wackamole

* create virtual ip group with multiple hosts

* start wackamole with:

  wackamole -c /etc/wackamole.conf -d

* shutdown wackamole on machine that currently has IP address assigned

* remaining wackamole daemon aborts with the following error:

wackamole: wackamole.c:702: Send_state_message: Assertion `ret == My.num_allocated' failed.
Aborted (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: wackamole 2.1.1-3.1
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic-pae 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic-pae i686
Architecture: i386
Date: Wed May 25 14:56:04 2011
InstallationMedia: Ubuntu-Server 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: wackamole

Revision history for this message
Eric Williams (eric-canonical) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wackamole (Ubuntu):
status: New → Confirmed
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.