[Pkg-utopia-maintainers] Bug#473983: libnss-mdns: dns for a QT-application broken

Mathias Behrle mathias.behrle at gmx.de
Wed Apr 2 13:31:15 UTC 2008


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

Please help me figure out, I am not sure if this the right place for this issue.

I have here an application built on QT 3.3.8, that couldn't find the database 
server any more with error:
QPSQL: Cannot connect to database
could not translate hostname "postgres" to address: Name or service not known

The application runs on a workstation, the database runs on the server, that is 
also doing DNS lookups and caching for the local network (dnsmasq). 

Trying to search for the reason there were two posssibilities:
1) I am running testing, so it could be the upgrade of a package
2) I installed in this period tomcat5.5 and sun-java5-bin, which pulls 
in avahi-daemon and libnss-mdns

I am supposing, that 2) is the cause for the change, because experimenting with 
nsswitch.conf showed, that eliminating [NOTFOUND=return] from line

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

brought back connectivity for the application.

I have no .local domains defined, neither on the server, nor on the workstation.


Now I am not knowing, if this issue is placed right here or if I should report 
against avahi-daemon or if I should have reported not at all...;-)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-1-obelix-opt (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

libnss-mdns recommends no packages.

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list