Red Hat Bugzilla – Bug 90420
redhat-config-network crashes immediately after opening
Last modified: 2007-04-18 12:53:33 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.18-4smp i686)
Description of problem:
Immediately upon typing "redhat-config-network" and hitting "enter" (or
selecting the Network Configuration item from the menu), the network
configuration GUI partially opens and a message appears saying an error has
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. type "redhat-config-network" (as root)
2. the GUI has now partially appeared along with a window telling you that an
error occurred and the dump listed in the "Description" box in this bug report
Actual Results: The redhat-config-network GUI crashed.
Expected Results: The redhat-config-network GUI should have opened.
Created attachment 91545 [details]
which version is this?
$ rpm -q redhat-config-network
will find out.
Have you upgraded to the latest erratum via RHN or ftp?
The version is: redhat-config-network-1.0.0-1
Yes, the latest erratum had been applied via RHN the day before I encountered
for 7.3 there is a 1.0.4-2 erratum available..
Created attachment 91583 [details]
Second error dump
I've upgraded to redhat-config-network-1.0.4-2 (sidenote: Why didn't this update
happen with a plain 'up2date'? I had to do an 'up2date redhat-config-network'
afterwards.) Unfortunately, this didn't correct the behavior of the application.
The new error message dump is attached.
please attach /etc/sysconfig/networking/devices/ifcfg-eth0
Created attachment 91586 [details]
Here is the file you requested.
I am puzzled... could you please remove the last duplicate line of
ifcfg-eth0 with an editor and insert a newline instead and retry?
Never saw this error...
or just remove all IPX lines if you can?
I have removed all of the IPX lines from the
/etc/sysconfig/networking/devices/ifcfg-eth0 file. I still get exactly the same
there is a newline missing at the end of your file... just add an empty line at
the end and the problem should be gone. I will consider this in my next bugfix.
Unfortunately, I cannot seem to just add an empty line at the end of this file.
Every time I try adding an empty line and saving it, the next time I run
"redhat-config-network" it acts just the same -- crashing with the error message
attached earlier. When I re-open the file after that, I find that my change (the
addition of the newline) has been deleted. How do I prevent this from happening?
Created attachment 91623 [details]
copy Conf.py to /usr/share/redhat-config-network/netconfpkg/Conf.py
can you please try out the Conf.py which should bugfix your version
I copied over the new Conf.py file. Now I get this error:
Traceback (innermost last):
File "/usr/sbin/neat", line 49, in ?
from netconfpkg import *
File "/usr/sbin/../share/redhat-config-network/netconfpkg/__init__.py", line
40, in ?
File "<string>", line 1, in ?
File "/usr/sbin/../share/redhat-config-network/netconfpkg/Conf.py", line 157,
from log import log
ImportError: No module named log
Created attachment 91640 [details]
copy to the same place as Conf.py
Now a call to "redhat-config-network" results in a message: "Copying ifcfg-eth0
to devices and putting it into the default profile" and the opening of the
network configuration GUI. I still suspect that the "redhat-config-network" tool
may not be operating as optimally as perhaps it should be. (For example I now
have an "eth0.old" inactive device which still seems to be listed as having
"Active" status even though the "Activate" button is active and the "Deactivate"
one is not.) However, the bug that is the subject of this bug report appears to
be fixed -- the utility opens successfully and allows me to modify the network
configuration. Thanks for your help!