Bug 65830

Summary: TB Conf:316:initvars end quote not found in ifcfg-eth0:MACADDR
Product: [Retired] Red Hat Linux Reporter: Cyril Zlachevsky <mazay>
Component: redhat-config-networkAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-26 16:12: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:
Bug Depends On:    
Bug Blocks: 67498    

Description Cyril Zlachevsky 2002-06-02 00:47:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523

Description of problem:
if /etc/sysconfig/network-scripts/ifcfg-eth0 contain line like this:
MACADDR="00:50:04:71:8D:89" Red Hat network config program crash with messgage:
---cut---
Traceback (innermost last):
  File "/usr/sbin/neat", line 1398, in ?
    window = mainDialog()
  File "/usr/sbin/neat", line 222, in __init__
    self.load()
  File "/usr/sbin/neat", line 241, in load
    self.loadDevices()
  File "/usr/sbin/neat", line 246, in loadDevices
    devicelist = getDeviceList()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 172, in getDeviceList
    DVList.load()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py",
line 63, in load
    self.data[i].load(dev)
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDevice.py", line
143, in load
    conf = ConfDevice(name)
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDevice.py", line
51, in __init__
    Conf.ConfShellVar.__init__(self, self.filename)
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 293,
in __init__
    separators='=', separator='=')
  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 296,
in read
    self.initvars()
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 316,
in initvars
    raise IndexError, 'end quote not found in '+self.filename+':'+var[0]
Conf.IndexError: end quote not found in
/etc/sysconfig/networking/devices/ifcfg-eth0:MACADDR
---cut---


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


How reproducible:
Always

Steps to Reproduce:
1. add MACADDR="00:50:04:71:8D:89" into
/etc/sysconfig/network-scripts/ifcfg-eth0 file
2. open Red Hat Control Panel
3. Run Network Configuration
	

Actual Results:  The exception window with the text above.



Expected Results:  normal program start

Additional info:

Comment 1 Harald Hoyer 2002-06-26 12:54:54 UTC
HWADDR="00:50:04:71:8D:89" would be the correct entry...
Did you name your config file ifcfg-eth0:MACADDR ??

Comment 2 Cyril Zlachevsky 2002-06-26 14:55:27 UTC
2 harald : Offcause no!

Comment 3 Harald Hoyer 2002-06-26 16:12:45 UTC
fixed in CVS

Comment 4 Trond Eivind Glomsrxd 2002-07-24 16:54:27 UTC
Please try the public beta - upgrade from Rawhide if necesarry. 1.1.10 has the
fix, wthough it was added somewhat earlier.

Comment 5 Harald Hoyer 2002-10-23 09:56:54 UTC
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.