Bug 480858

Summary: ip address lookup fails (for setting up /etc/hosts)
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-31 17:10:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jesse Keating 2009-01-20 22:37:36 UTC
The socket call to look up various info about a device is failing.  This leads to not writing a correct entry to /etc/hosts for the hostname/IP combination.

Comment 1 Jesse Keating 2009-01-20 23:04:21 UTC
I've got myself into a debugging mode, and it seems that I can't do any lookups via the stocket module, any kind of lookup results in:

[Errno -3] Temporary failure in name resolution

Even from something simple as:
socket.getaddrinfo('reducio.j2sol', None).  reducio.j2sol being the install server, which I can ping by name from another tty.  Something in socket land isn't happy and hasn't noticed the new resolvers to use.  What's strange is that this doesn't seem to hamper later network lookups to get the repodata and such.

Comment 2 Jesse Keating 2009-01-21 04:16:14 UTC
Patch thrown at upstream.  glibc is dumb, news at 11.

Comment 3 David Cantrell 2009-02-21 03:03:21 UTC
(In reply to comment #2)
> Patch thrown at upstream.  glibc is dumb, news at 11.

So is this not an anaconda problem?

Comment 4 Jesse Keating 2009-03-31 17:10:50 UTC
I can't seem to reproduce this anymore, I don't recall exactly what state I was in.  Closing for now.