[Pkg-utopia-maintainers] Bug#479144: libc6-i386: in some 32bit apps, resolving fails when lib32nss-mdns is not installed
Simon McVittie
smcv at debian.org
Wed Jun 12 09:45:42 UTC 2013
On Sat, 03 May 2008 at 09:53:56 +0200, A Mennucc wrote:
> Here is the bug, as described by Sylvain Pasche in
> https://bugzilla.mozilla.org/show_bug.cgi?id=414197
> [...]
> I turns out I was missing the lib32nss-mdns package. The /etc/nsswitch.conf
> default configuration contains:
>
> hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
>
> So without the lib32nss-mdns package, the libc can't load the mdns4_minimal
> module and aborts the resolution.
> ^^^^^^^^
>
> Actually, according to the document 'info libc "Actions in the NSS configuration"'
> if the module mdns4_minimal is not available, then the behaviour should be:
> `unavail'
> The service is permanently unavailable. This can either mean the
> needed file is not available, or, for DNS, the server is not
> available or does not allow queries. The default action is
> `continue'.
> but unfortunately (as reported long ago in bug 365048), the above does not work.
As of current unstable eglibc, this seems to work fine: if I add
"foo [NOTFOUND=return] bar" to my hosts nsswitch configuration
(before mdns* or dns), hosts resolution continues to mdns* and dns,
whereas if I change that to "foo [UNAVAIL=return]", hosts resolution
stops working.
I think this demonstrates that the missing "foo" module is now interpreted
as UNAVAIL, which means the configuration provided by nss-mdns is OK
with current eglibc, and I think we can close this?
S
More information about the Pkg-utopia-maintainers
mailing list