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
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
ProcVersionSign
Uname: Linux 2.6.32-
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
Status changed to 'Confirmed' because the bug affects multiple users.