Bug 103490 - Network Device Control throws exception after installation of 2.6 kernel
Network Device Control throws exception after installation of 2.6 kernel
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-network (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-01 01:30 EDT by John Yau
Modified: 2007-04-18 12:57 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-05-24 06:37:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Yau 2003-09-01 01:30:52 EDT
Description of problem:


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


How reproducible: Always


Steps to Reproduce:

Upgrade to 2.6 kernel using
http://people.redhat.com/arjanv/2.5/RPMS.kernel/kernel-2.6.0-0.test4.1.32.i686.rpm

1. System Tools -> Network Device Control
2. Configure 
3. New Device
4. Select wireless device
5. Forward
    
Actual results:

Component: redhat-config-network
Version: 1.2.0
Summary: TB
/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NC_functions.py:119:rpms_notinstalled:TypeError:
rpmdb open failed
Traceback (most recent call last):
  File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.py",
line 144, in on_start_page_next
  File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/WirelessInterface.py",
line 129, in get_druids
  File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/WirelessInterface.py",
line 58, in init_gui
  File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NC_functions.py",
line 144, in request_rpms
  File
"/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NC_functions.py",
line 119, in rpms_notinstalled
TypeError: rpmdb open failed

Expected results:


Additional info:
Comment 1 Harald Hoyer 2003-09-01 04:11:58 EDT
seems like the rpm db could not be opened.. hmm..
Comment 2 John Yau 2003-09-01 11:14:50 EDT
actually yes...I haven't been able to use rpmdb or rpm from the shell until I 
added this

export LD_ASSUME_KERNEL=2.2.5

to the environment.  But redhat-config-network still exhibits the same 
behavior even after the addition.

This is where I found the info to add to the environment

http://thomer.com/linux/migrate-to-2.6.html
Comment 3 Harald Hoyer 2003-09-01 11:17:18 EDT
try this as root:
# LD_ASSUME_KERNEL=2.2.5 /usr/sbin/redhat-config-network
Comment 4 John Yau 2003-09-01 12:13:24 EDT
Okay... the rpmdb seems to be accessible now, but now I get complaints about


Error saving Configuration!
[Errno 2] No such file or directory:
'/etc/sysconfig/network-scripts//ifcfg-lo.rpmsave'

when I try to activate a device.

A similar error about not being able to find the same file shows up in
rc.sysinit sequence at boot.
Comment 5 Harald Hoyer 2003-09-02 05:29:10 EDT
update to 1.2.15 and the last error is gone..
http://rhn.redhat.com/errata/RHBA-2003-183.html

Note You need to log in before you can comment on or make changes to this bug.