Description of problem: socket.gethostbyname(hostname) does not support IPv6 and should be replaced by getaddrinfo(): http://docs.python.org/library/socket.html#socket.gethostbyname Occurences: [freznice@dhcp-lab-200 python]$ grep gethostbyname * */* */*/* commands/qpid-cluster: self.dottedQuad = socket.gethostbyname(text) commands/qpid-cluster: ip = socket.gethostbyname(tokens[0]) commands/qpid-stat: self.dottedQuad = socket.gethostbyname(text) qmf/console.py: socket.gethostbyname(self.host) qmf/console.py: return socket.gethostbyname(self.host) == socket.gethostbyname(host) and self.port == port Binary file qmf/console.pyc matches qpid/managementdata.py: self.host = socket.gethostbyname (host) Version-Release number of selected component (if applicable): python-qpid-0.5.752581-1.el5 and svn tree rev.752581 How reproducible: 100% Steps to Reproduce: 1. grep gethostbyname * */* */*/* 2. cat $(rpm -ql python-qpid | grep -v ".py[co]") | grep gethostbyname Actual results: Some socket.gethostbyname() occurrences found. Expected results: No socket.gethostbyname() occurrences needed. Additional info:
*** This bug has been marked as a duplicate of bug 489470 ***