Red Hat Bugzilla – Bug 60016
Network Configuration tools crash if files are present in /etc/sysconfig/networking/
Last modified: 2015-03-04 20:10:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
I found a very annoying bug that affects Network Configuration (neat) and
Internet Configuration wizard (internet-druid). I was trying to solve ppp
connect problems. While using nautilus to view some of the directories holding
the ppp configuration files, in particular /etc/sysconfig/networking/ and its
subdirectories, I changed to list-view and sorted by date to find out which
files were being changed. This left hidden ".nautilus-metadata.xml" files in the
afore-mentioned directories. The presence of those files caused neat and
internet-druid to crash without a meaningful message. I think it was the latest
version of neat that showed me a message about something not being a directory
and let me go into python debug where I displayed the variable as holding
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Display /etc/sysconfig/networking/ and subdirectories in nautilus.
2.Switch from icon view to list view, and sort by date
3.Try running /usr/sbin/neat or /usr/sbin/internet-druid
Actual Results: Application crashes.
Expected Results: No crash.
Occurs with out of the box version.
Updated version of neat at least displays a message and allows entry to debug
environment which allowed me to figure it out.
Deleting the extraneous hidden files allow the application to work.
# touch /etc/sysconfig/networking/profiles/.nautilus-metadata.xml
Traceback (innermost last):
File "netconf.py", line 1406, in ?
window = mainDialog()
File "netconf.py", line 227, in __init__
File "netconf.py", line 246, in load
File "netconf.py", line 259, in loadProfiles
profilelist = getProfileList()
File "netconfpkg/NCProfileList.py", line 369, in getProfileList
File "netconfpkg/NCProfileList.py", line 64, in load
devlist = os.listdir(SYSCONFPROFILEDIR + '/' + pr)
OSError: [Errno 20] Ist kein Verzeichnis
-> devlist = os.listdir(SYSCONFPROFILEDIR + '/' + pr)
fix will be in 0.9.22
Is this stil a problem with version 0.9.24 at http://people.redhat.com/teg/neat/ ?
Waiting for user response.
Read ya, Phil
new packages to test available at:
Closing as fixed CURRENTRELEASE.
Read ya, Phil