Ticket #98 (new defect)

Opened 1 year ago

Last modified 3 months ago

padevchooser doesn't gracefully handle avahi + multiple network interfaces

Reported by: vitaminmoo Assigned to: lennart
Priority: normal Milestone:
Component: padevchooser Severity: normal
Keywords: avahi duplicate Cc: vitaminmoo@obsoleet.org, rodrigo@gnome-db.org

Description

On a machine with five ethernet interfaces (three from vmware, two physical, and one eth0:avahi), when I click on the padevchooser icon, and select "Default Server", I'm seeing ten instances of my hostname. Under "Default Sink" and "Default Source", I'm seeing ten of each sink and source.

I'm not sure why two per interface is showing up, as avahi-discover shows one instance of everything per interface, but it seems logical to only show a single item of each type per unique avahi cookie.

Change History

07/07/07 22:13:22 changed by vitaminmoo

  • cc set to vitaminmoo@obsoleet.org.

08/24/07 01:07:52 changed by coling

Hello,

I get this annoying issue too.

I've "fixed" this in latest stable with this simple patch.

The same patch can apply against latest SVN with minimal hassle.

I did try to take into account the cookie but when the device is removed the cookie is not available so it becomes impossible to match it up on removal.

This will cause issues if there are genuinely separate but duplicated names, but then there will be lots of other issues too in this scenario.

In the case the OP is seeing (with VMWare etc.) I too get this. I did create a patch that appended the new discovered IP address to the IP (or rather "server") already listed for that device if it already exists in the lookup. It did however look a bit ugly so I didn't bother using this one, but feel free to ask if you want it.

Cheers

Col

02/15/08 15:52:14 changed by lennart

  • component changed from daemon to padevchooser.

06/05/08 17:54:27 changed by rodrigo

  • cc changed from vitaminmoo@obsoleet.org to vitaminmoo@obsoleet.org, rodrigo@gnome-db.org.

Also, why is padevchooser exiting if avahi-daemon is not running? I think it should just handle that gracefully

06/21/08 17:51:23 changed by lennart

  • summary changed from pulseaudio doesn't gracefully handle avahi + multiple network interfaces to padevchooser doesn't gracefully handle avahi + multiple network interfaces.