[Bug 1254357] Re: Avahi-daemon-check-dns.sh takes too much time on every connecting to network
Ubuntu Foundations Team Bug Bot
1254357 at bugs.launchpad.net
Sun Nov 24 00:19:11 UTC 2013
The attachment "Proposed fix: lower dns lookup timeout" seems to be a
patch. If it isn't, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are a member of the ~ubuntu-
reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to avahi in Ubuntu.
https://bugs.launchpad.net/bugs/1254357
Title:
Avahi-daemon-check-dns.sh takes too much time on every connecting to
network
Status in “avahi” package in Ubuntu:
New
Bug description:
Every time I connect to network using NetworkManager, 10s is spent on
checking if avahi may be run, which is majority of connecting time.
Control flow is as follows -> NetworkManager -> /sbin/resolvconf ->
/etc/resolvconf/update.d/libc -> /etc/resolvconf/update-libc.d/avahi-
daemon -> /usr/lib/avahi/avahi-daemon-check-dns.sh -> host -t soa
.local
If everything is alright (no .local domain, avahi may be run) host shall fail due to timeout, which by default takes 10s.
I believe either dns lookup timeout should be lowered (host -t soa -W 1 .local) or the avahi-daemon-check-dns.sh script shall be run asynchronously.
It is particularly annoying when waking up from suspend - resume takes
3s, main part of network configuration 4s, but then avahi 10s.
To reproduce:
nmcli d disconnect iface <interface>; time nmcli c up id <your network>
chmod -x /usr/lib/avahi/avahi-daemon-check-dns.sh
nmcli d disconnect iface <interface>; time nmcli c up id <your network>
Or just:
time /usr/lib/avahi/avahi-daemon-check-dns.sh
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: avahi-daemon 0.6.31-2ubuntu4.1
ProcVersionSignature: Ubuntu 3.11.0-14.21-generic 3.11.7
Uname: Linux 3.11.0-14-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Sun Nov 24 00:36:05 2013
InstallationDate: Installed on 2013-11-16 (7 days ago)
InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
MarkForUpload: True
SourcePackage: avahi
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1254357/+subscriptions
More information about the foundations-bugs
mailing list