Bug 477823

Summary: system-control-network does not start when launched from menu
Product: [Fedora] Fedora Reporter: Braden McDaniel <braden>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: harald, jmoskovc
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: 2008-12-24 10:57:56 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:

Description Braden McDaniel 2008-12-23 23:23:03 UTC
Description of problem:
system-control-network does not start when launched from "System->Administration->Network Device Control".

Version-Release number of selected component (if applicable):
1.5.93-2.fc10

How reproducible:
Consistently.

Additional info:
When launched from a console as a normal user, I get this:

$ system-control-network 
Traceback (most recent call last):
  File "/usr/bin/system-control-network", line 536, in <module>
    window = mainDialog()
  File "/usr/bin/system-control-network", line 130, in __init__
    self.devicelist = self.getProfDeviceList()
  File "/usr/bin/system-control-network", line 453, in getProfDeviceList
    profilelist = getProfileList(refresh)
  File "/usr/share/system-config-network/netconfpkg/NCProfileList.py", line 669, in getProfileList
    __PFList.load()
  File "/usr/share/system-config-network/netconfpkg/NCProfileList.py", line 90, in load
    self.loadprof(pr, profdir)                
  File "/usr/share/system-config-network/netconfpkg/NCProfileList.py", line 104, in loadprof
    devicelist = NCDeviceList.getDeviceList()
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 327, in getDeviceList
    __DVList.load()
  File "/usr/share/system-config-network/netconfpkg/NCDeviceList.py", line 87, in load
    newdev.load(dev)
  File "/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevWireless.py", line 44, in load
    conf.write()
  File "/usr/share/system-config-network/netconfpkg/NCDevice.py", line 128, in write
    ConfShellVar.ConfShellVar.write(self)
  File "/usr/share/system-config-network/netconfpkg/conf/Conf.py", line 329, in write
    mfile = open(self.filename, 'w', -1)
IOError: [Errno 13] Permission denied: '//etc/sysconfig/networking/devices/ifcfg-eth1'
[braden@hinge Desktop]$ ll /etc/sysconfig/networking/devices/ifcfg-eth1
-rw-r--r-- 3 root root 257 2008-12-21 22:01 /etc/sysconfig/networking/devices/ifcfg-eth1


I'm able to run the application successfully as root; but presumably I should be getting some dialog asking for the root password when launching the app as a normal user.

Comment 1 Jiri Moskovcak 2008-12-24 10:57:56 UTC

*** This bug has been marked as a duplicate of bug 470203 ***