Bug 480858 - ip address lookup fails (for setting up /etc/hosts)
Summary: ip address lookup fails (for setting up /etc/hosts)
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-20 22:37 UTC by Jesse Keating
Modified: 2013-01-10 03:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-31 17:10:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.