Description of problem: With CentOS 5 and latest update to kernel 2.6.18-164.el5, network is not working properly. ifconfig gives correct ip addr, but system cannot recognize domain names. I can ping the DNS past the gateway. It doesn't matter if NetWorkManager is running or not. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. boot up from update 2. DNS not recognized, running system-config-network crashes 3. Actual results: Expected results: Additional info: email and web browsing not avaiable
When you say "running system-config-network crashes", what exactly do you mean? Can you paste the crash text in here from the window that comes up and shows the trace?
I attached a file containing the output to the bug. In any event its appended to this note. By crashing, I mean the the app didn't run and allow me to configure the network interface. Instead it opened up a window asking me to send in a a bug report. please note that networking was working just fine prior to the update and reboot. Component: system-config-network Version: 1.3.99.12 Summary: TB0a0f70ae maindialog.py:602:hydrateProfiles:TypeError: sequence item not a string or unicode object Traceback (most recent call last): File "/usr/sbin/system-config-network-gui", line 167, in main window = mainDialog() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 248, in __init__ self.hydrate() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 392, in hydrate self.hydrateProfiles() File "/usr/share/system-config-network/netconfpkg/gui/maindialog.py", line 602, in hydrateProfiles hclist.append([host.IP, host.Hostname, TypeError: sequence item not a string or unicode object Local variables in innermost frame: profilelist: ProfileList.default.ActiveDevices.1=eth1 ProfileList.default.ActiveDevices.2=eth0 ProfileList.default.HostsList.1.Comment=# Do not remove the following line, or various programs ProfileList.default.HostsList.1.isComment=true ProfileList.default.HostsList.2.Comment=# that require network functionality will fail. ProfileList.default.HostsList.2.isComment=true ProfileList.default.HostsList.3.Comment= ProfileList.default.HostsList.3.IP=127.0.0.1 ProfileList.default.HostsList.3.Hostname=localhost.localdomain ProfileList.default.HostsList.3.AliasList.1=localhost ProfileList.default.HostsList.4.Comment= ProfileList.default.HostsList.4.IP=::1 ProfileList.default.HostsList.4.Hostname=localhost6.localdomain6 ProfileList.default.HostsList.4.AliasList.1=localhost6 ProfileList.default.HostsList.5.Comment= ProfileList.default.HostsList.5.isComment=true ProfileList.default.HostsList.6.Comment= ProfileList.default.HostsList.6.IP=192.168.1.2 ProfileList.default.DNS.SecondaryDNS=66.109.223.44 ProfileList.default.DNS.SearchList.1=localdomain ProfileList.default.DNS.Domainname= ProfileList.default.DNS.Hostname=tigger ProfileList.default.DNS.TertiaryDNS= ProfileList.default.DNS.PrimaryDNS=66.109.223.4 ProfileList.default.Active=true ProfileList.default.ProfileName=default name: Common hclist: <gtk.CList object (GtkCList) at 0xb7a28a7c> self: <netconfpkg.gui.maindialog.mainDialog instance at 0xb7a94a4c> host: Host.Comment= Host.IP=192.168.1.2 prof: Profile.ActiveDevices.1=eth1 Profile.ActiveDevices.2=eth0 Profile.HostsList.1.Comment=# Do not remove the following line, or various programs Profile.HostsList.1.isComment=true Profile.HostsList.2.Comment=# that require network functionality will fail. Profile.HostsList.2.isComment=true Profile.HostsList.3.Comment= Profile.HostsList.3.IP=127.0.0.1 Profile.HostsList.3.Hostname=localhost.localdomain Profile.HostsList.3.AliasList.1=localhost Profile.HostsList.4.Comment= Profile.HostsList.4.IP=::1 Profile.HostsList.4.Hostname=localhost6.localdomain6 Profile.HostsList.4.AliasList.1=localhost6 Profile.HostsList.5.Comment= Profile.HostsList.5.isComment=true Profile.HostsList.6.Comment= Profile.HostsList.6.IP=192.168.1.2 Profile.DNS.SecondaryDNS=66.109.223.44 Profile.DNS.SearchList.1=localdomain Profile.DNS.Domainname= Profile.DNS.Hostname=tigger Profile.DNS.TertiaryDNS= Profile.DNS.PrimaryDNS=66.109.223.4 Profile.Active=true Profile.ProfileName=default row: 0
This is a dupe of bug 492915. This happens when the contents of /etc/hosts are incorrect. The entry should be at least: <ip address> <host name> The crash happens when you have an entry that looks like this: <ip address>
this fixed the problem after reboot. What a dumb mistake, but life is good again.
*** This bug has been marked as a duplicate of bug 574108 ***