[Pkg-utopia-maintainers] Bug#433943: libnss-mdns: please change default nsswitch.conf line

Lennart Poettering mzqrooht at 0pointer.de
Fri Jul 20 13:32:24 UTC 2007


Package: libnss-mdns
Version: 0.10-3
Severity: normal


Please drop the final "mdns4" from the default nsswitch.conf line. While
it is quite useful to enable proper reverse lookups on non-link-local
addresses it also has the big drawback that if there is neither avahi
nor classic dns set up for an IP address this module has to timeout
before the reverse lookup can fail. This becomes a problem because many
programs freeze during these lookups, one being ssh on every single
incoming connection.

Since Avahi is intended to be a "zero configuration" system, one that
"just works", this means that it is preferable to guarantee that we don't
break on any system, even when this means that a certain amount of
functionality is lost.

Unfortunately I don't know any better solution for this mess than just
dropping "mdns4" from the line.

In effect the line to use should look like this:

hosts:          files mdns4_minimal [NOTFOUND=return] dns

I already made a similar change in the Fedora packages.

Lennart

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnss-mdns depends on:
ii  avahi-daemon                  0.6.19-2   Avahi mDNS/DNS-SD daemon
ii  base-files                    4.0.0      Debian base system miscellaneous f
ii  libc6                         2.6-2      GNU C Library: Shared libraries
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

libnss-mdns recommends no packages.

-- no debconf information




More information about the Pkg-utopia-maintainers mailing list