Bug 41435

Summary: up2date and rhn_register problems
Product: Red Hat Enterprise Linux 4 Reporter: Need Real Name <michael_gricksch>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-17 16:23:57 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 Need Real Name 2001-05-20 13:43:06 UTC
Description of Problem:
when running rhn_register i get this output:
Traceback (innermost last):
  File "/usr/lib/python1.5/site-packages/libglade", line 28 __call__
    ret = apply(self.func, a)
  File "/usr/share/rhn/register/gui.py", line 417, in 
onProfilePagePrepare 
    hardware.read_network()
  File "usr/share/rhn/register/hardware.py", line261, in read_network
    netdict['ipaddr'] = gethostbyname(gethostname())
socket.error: host not found

ive tried twice whith the same result
then i tried up2date, and got errormessage about Software Manager 
funktionality not being enabled, this has now happend 3 times then i did 
as i vas told i clicked on my profile and wanted it to become activated 
but nothing happened exept for ending up here

How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Cristian Gafton 2001-08-10 20:57:14 UTC
Assigned to the owner of component

Comment 2 softrat 2001-09-17 00:12:48 UTC
It's September and this bug isn't fixed yet!



Comment 3 Adrian Likins 2001-09-17 16:23:52 UTC
can you attach a copy of /etc/hosts?

The only time I've seen this is when the machine advertised a hostname
that didnt map to any ip address it knows about.

Comment 4 Adrian Likins 2002-05-15 20:57:12 UTC
since theres no activity on this, and the only way that
error can occur is with an invalid hostname, I'm closing
this bug.

Current versions of the code will just assume the ip
for the default hostname is 127.0.0.1, since it's impossible
to tell otherwise with an invalid hostname.