Bug 467898

Summary: dns lookups broken since jan 09/2009 change in nscd
Product: [openSUSE] openSUSE 11.2 Reporter: Dirk Mueller <dmueller>
Component: BasesystemAssignee: Petr Baudis <pbaudis>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dirk Mueller 2009-01-21 10:48:41 UTC
Hi, 

starting with this changelog entry:

* Fr Jan 09 2009 pbaudis@suse.cz
- Fix unsetenv() crashing after clearenv()
- Backport various DNS-related fixes from CVS
- Disable parallel A-AAAA queries - revert to the glibc-2.9 behaviour
  of sending the queries sequentially [bnc#442572]
- Fix fp register protection on power6 setcontext() [bnc#464738]


all dns lookups in Qt 4.x/KDE applications fail. stopping nscd and downgrading glibc to 11.1 state fixes it. 

=== test app===
#include <qhostinfo.h>
#include <QDebug>
#include <QtGui/QApplication>
#include <QtNetwork/QTcpSocket>

int main(int argc, char **argv)
{
    qDebug() << QHostInfo::fromName("www.opensuse.org").addresses();
}

=== ===

expected result: "1.2.3.4" (some ip address), actual: ""

compile by putting into an empty directory, call

sudo zypper in libqt4-devel
qmake -project
qmake
make
Comment 1 Petr Baudis 2009-01-21 17:49:59 UTC
Thanks for the report, however this has been fixed already.

*** This bug has been marked as a duplicate of bug 441947 ***