Bug 502628

Summary: TB0a0f70ae maindialog.py:602:hydrateProfiles:TypeError: sequence item not a string or unicode object
Product: Red Hat Enterprise Linux 5 Reporter: Manuel Gil <mgilmoreno>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: pknirsch, spoyarek
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 14:16: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 Manuel Gil 2009-05-26 14:51:26 UTC
Description of problem:

When I change hosts file from another linux red hat enterprise 5.2 version, system-config-network get a crash. This hosts file is working well


Version-Release number of selected component (if applicable):

system-config-network 1.3.99.12


How reproducible:


Steps to Reproduce:
1.change /etc/hosts file from another linux red hat desktop older
2.I edit file, changing localhost, put local hostname
3.
  
Actual results:

the network toll is keeping out order

Expected results:

I thing that hosts file has something that make software crash in linux red hat 5.3 version

Additional info:

Comment 1 Siddhesh Poyarekar 2009-05-26 15:08:21 UTC
This is a dupe of bug #492915

Check your /etc/hosts for invalid entries. `man hosts` to see what constitutes a valid entry.

Comment 2 Manuel Gil 2009-05-26 15:29:51 UTC
then, why this file don't crash in older linux version, I check hosts file and didn't found wrong entries. I write ipaddress hostname, but I follow look in for diferences, because is sure that I have something wrong, but I don't understand, why in linux 5.2 is working whith the same hosts file

Comment 3 Siddhesh Poyarekar 2009-05-26 16:14:03 UTC
I'm not sure why but it looks like the entry is simply ignored in the older version. It's probably due to some change in behaviour of GtkCList -- looks like the earlier version accepted nulls. 

In any case, if you see the bug #492915, the upstream version (and Fedora) has introduced proper validation. We need to port it back into RHEL in some form.

Comment 4 Phil Knirsch 2009-09-02 14:16:50 UTC
Closing as dupe, and bug #492915 is the one we're tracking and currently proposing to get fixed for RHEL-5.5.

Thanks & regards, Phil

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