Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Network Device Bug
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 2nd September 07:20
gonzalo
External User
 
Posts: 1
Default Network Device Bug


I am running Red Hat 9. I have created two different network profiles. One
for home and one for the office. When I try to switch between by using the
network device tool, the program crashes. Here's the ouput of the crash
that I was asked to send to Red Hat.Do Red Hat employees read the
newsgroups or is there anyone here that has a bugzilla account with them
and can forward the bug report?

TIA. Debugging info follows:

Debugging info 1:

Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/lib/python2.2/site-packages/rhpl/Conf.py:278:write:IOError:
[Errno 13] Permission denied: '/etc/sysconfig/network'Traceback (most recent
call last): File "/usr/bin/redhat-control-network", line 256, in
on_profileActivateButton_clicked
status=self.activate_new_profile(profile)
File "/usr/bin/redhat-control-network", line 220, in activate_new_profile
profilelist.save()
File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg
/NCProfileList.py", line 255, in save nwconf.write() File
"/usr/lib/python2.2/site-packages/rhpl/Conf.py", line 278, in write
self.file
= open(self.filename, 'w', -1)IOError: [Errno 13] Permission denied:
'/etc/sysconfig/network'
Local variables in innermost frame:
self: <rhpl.Conf.ConfShellVar instance at 0x866ebac>

Debugging info 2:

Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/lib/python2.2/site-packages/rhpl/Conf.py:278:write:IOError:
[Errno 13] Permission denied: '/etc/sysconfig/network'Traceback (most recent
call last): File "/usr/bin/redhat-control-network", line 256, in
on_profileActivateButton_clicked
status=self.activate_new_profile(profile)
File "/usr/bin/redhat-control-network", line 220, in activate_new_profile
profilelist.save()
File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg
/NCProfileList.py", line 255, in save nwconf.write() File
"/usr/lib/python2.2/site-packages/rhpl/Conf.py", line 278, in write
self.file
= open(self.filename, 'w', -1)IOError: [Errno 13] Permission denied:
'/etc/sysconfig/network'
  Reply With Quote


  sponsored links


2 2nd September 10:19
bit twister
External User
 
Posts: 1
Default Network Device Bug


I cannot help you with the bug problem.

What I did was create a script to overwrite network files
with fn_home or fn_work and run
service network restart
to pickup the new values

I would configure and get the network running and copy the files
to the network holding directory.


Example:

case $1 in
home) _who=_home ;;
work) _who=_work ;;
*) echo " "
echo "invalid first argument ($1)"
echo "Usage: call home"
echo " call work"
echo " "
exit 1
esac

_nw=/site/network # location of work/home network files

/sbin/route del default # delete current route

/bin/cp $(_nw)/hosts$(_who) /etc/hosts
/bin/cp $(_nw)/resolv.conf$(_who) /etc/resolv.conf
/bin/cp $(_nw)/ifcfg-eth0$(_who) /etc/sysconfig/network-scripts/ifcfg-eth0
/bin/cp $(_nw)/network$(_who) /etc/sysconfig/network
service network restart


For some light reading http://www.tldp.org/LDP/abs/html/index.html
  Reply With Quote
3 7th September 16:51
gonzalo
External User
 
Posts: 1
Default Network Device Bug


I am running Red Hat 9. I have created two different network profiles. One
for home and one for the office. When I try to switch between by using the
network device tool, the program crashes. Here's the ouput of the crash
that I was asked to send to Red Hat.Do Red Hat employees read the
newsgroups or is there anyone here that has a bugzilla account with them
and can forward the bug report?

TIA. Debugging info follows:

Debugging info 1:

Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/lib/python2.2/site-packages/rhpl/Conf.py:278:write:IOError:
[Errno 13] Permission denied: '/etc/sysconfig/network'Traceback (most recent
call last): File "/usr/bin/redhat-control-network", line 256, in
on_profileActivateButton_clicked
status=self.activate_new_profile(profile)
File "/usr/bin/redhat-control-network", line 220, in activate_new_profile
profilelist.save()
File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg
/NCProfileList.py", line 255, in save nwconf.write() File
"/usr/lib/python2.2/site-packages/rhpl/Conf.py", line 278, in write
self.file
= open(self.filename, 'w', -1)IOError: [Errno 13] Permission denied:
'/etc/sysconfig/network'
Local variables in innermost frame:
self: <rhpl.Conf.ConfShellVar instance at 0x866ebac>

Debugging info 2:

Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/lib/python2.2/site-packages/rhpl/Conf.py:278:write:IOError:
[Errno 13] Permission denied: '/etc/sysconfig/network'Traceback (most recent
call last): File "/usr/bin/redhat-control-network", line 256, in
on_profileActivateButton_clicked
status=self.activate_new_profile(profile)
File "/usr/bin/redhat-control-network", line 220, in activate_new_profile
profilelist.save()
File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg
/NCProfileList.py", line 255, in save nwconf.write() File
"/usr/lib/python2.2/site-packages/rhpl/Conf.py", line 278, in write
self.file
= open(self.filename, 'w', -1)IOError: [Errno 13] Permission denied:
'/etc/sysconfig/network'
  Reply With Quote
4 7th September 16:51
bit twister
External User
 
Posts: 1
Default Network Device Bug


I cannot help you with the bug problem.

What I did was create a script to overwrite network files
with fn_home or fn_work and run
service network restart
to pickup the new values

I would configure and get the network running and copy the files
to the network holding directory.


Example:

case $1 in
home) _who=_home ;;
work) _who=_work ;;
*) echo " "
echo "invalid first argument ($1)"
echo "Usage: call home"
echo " call work"
echo " "
exit 1
esac

_nw=/site/network # location of work/home network files

/sbin/route del default # delete current route

/bin/cp $(_nw)/hosts$(_who) /etc/hosts
/bin/cp $(_nw)/resolv.conf$(_who) /etc/resolv.conf
/bin/cp $(_nw)/ifcfg-eth0$(_who) /etc/sysconfig/network-scripts/ifcfg-eth0
/bin/cp $(_nw)/network$(_who) /etc/sysconfig/network
service network restart


For some light reading http://www.tldp.org/LDP/abs/html/index.html
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666