[Bug 510591] Re: avahi-browse makes host completion ugly and slow
Launchpad Bug Tracker
510591 at bugs.launchpad.net
Tue Oct 25 10:39:28 UTC 2011
** Branch linked: lp:ubuntu/maverick-proposed/bash-completion
** Branch linked: lp:ubuntu/bash-completion
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/510591
Title:
avahi-browse makes host completion ugly and slow
Status in “bash-completion” package in Ubuntu:
Fix Released
Status in “bash-completion” package in Debian:
Confirmed
Bug description:
Binary package hint: bash-completion
The latest version of bash-completion, synced into lucid, calls the
following from /etc/bash-completion in _known_hosts_real():
avahi-browse -cpr _workstation._tcp
which is probably great on a small home network with 2 machines.
However, there are typically over 100 Avahi/Bonjour devices on the
same broadcast network as my laptop, and because they are generally
laptops they are appearing and disappearing on the network very
frequently, which means avahi will often hit its internal timeouts
when trying to resolve things that are going away. This adds up to the
above avahi-browse command always taking at least 5 seconds, which is
really quite a lot of time to add to a tab completion.
Secondly, something is wrong with the way it is being called, as the
first thing it always prints, to stderr, is:
WARNING: Unhandled message:
interface=org.freedesktop.DBus.Introspectable, path=/,
member=Introspect
(stderr is not redirected away by the bash-completion script).
Depending on how many hosts have timed out, I will then get for each
one, an error like:
Failed to resolve service 'bob-laptop [00:11:22:33:44:55]' of type
'_workstation._tcp' in domain 'local': Timeout reached
All in all this makes for a very unpleasant experience if you are a
sysadmin who uses ssh constantly!
avahi is a great feature, but please make this silent and optional for
those of us whom it hurts!
ProblemType: Bug
Architecture: amd64
Date: Thu Jan 21 11:12:20 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
Package: bash-completion 1:1.1-3
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-11.15-generic
SourcePackage: bash-completion
Uname: Linux 2.6.32-11-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/510591/+subscriptions
More information about the foundations-bugs
mailing list