From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417 Description of problem: redhat-config-network fails to start when no nameserver is defined in /etc/resolv.conf Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.remove any existing nameserver XXX.XXX.XXX.XXX from /etc/resolv.conf, leave only "search \n nameserver \n" lines in there 2.run internet-druid/redhat-config-network 3. Actual Results: Traceback lower Expected Results: rh-cfg-net should start Additional info: This is traceback of rh-cfg-net: Traceback (innermost last): File "/usr/sbin/internet-druid", line 1400, in ? window = mainDialog('druid') File "/usr/sbin/internet-druid", line 222, in __init__ self.load() File "/usr/sbin/internet-druid", line 243, in load self.loadProfiles() File "/usr/sbin/internet-druid", line 256, in loadProfiles profilelist = getProfileList() File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCProfileList.py", l ine 393, in getProfileList PFList.load() File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCProfileList.py", l ine 45, in load dnsconf = Conf.ConfEResolv() File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 494, in __init__ Conf.__init__(self, '/etc/resolv.conf', '#', '\t ', ' ') File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 180, in __init__ self.read() File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 497, in read self.initvars() File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 507, in initvars self.vars['nameservers'] = [ var[1] ] IndexError: list index out of range Local variables in innermost frame: self: <netconfpkg.Conf.ConfEResolv instance at 82f84a0> var: ['nameserver']
fixed in CVS
first beta of erratum is available at: ftp://people.redhat.com/harald/redhat-config-network/1.0.1-1/ Most of the bugs reported have been removed, but as in every software change, there could be new bugs introduced. Please report bugs against this with explicitly stating the 1.0.1 version... Thx and please test.
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2002-267.html