Bug 125077

Summary: system-config-network can't handle unexpected kernel version strings
Product: [Fedora] Fedora Reporter: Bryan O'Sullivan <bos>
Component: system-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
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: 2006-02-21 19:03:55 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 Bryan O'Sullivan 2004-06-02 15:53:57 UTC
In FC2, the system-config-network back end modules crash if the kernel
version string is in an unexpected format.

I'm running system-config-network-1.3.16-1.

My kernel version string is 2.6.3-1.1664-up.

When I run, I get a backtrace like this:

Component: system-config-network
Version: 1.3.16
Summary: TBf3ca2c97 NC_functions.py:54:kernel_version:ValueError:
unpack list of wrong size
Traceback (most recent call last):
  File "/usr/sbin/system-config-network-gui", line 183, in ?
    from netconfpkg import NC_functions
  File
"/usr/src/build/377922-noarch/install/usr/share/system-config-network/netconfpkg/__init__.py",
line 61, in ?
  File "<string>", line 1, in ?
  File
"/usr/src/build/377922-noarch/install/usr/share/system-config-network/netconfpkg/Control.py",
line 28, in ?
  File
"/usr/src/build/377922-noarch/install/usr/share/system-config-network/netconfpkg/NC_functions.py",
line 78, in ?
  File
"/usr/src/build/377922-noarch/install/usr/share/system-config-network/netconfpkg/NC_functions.py",
line 54, in kernel_version
ValueError: unpack list of wrong size

Local variables in innermost frame:
release: 2.6.3-1.1664-up
machine: i686
version: #3 Mon Feb 23 14:46:20 PST 2004
nodename: camp4.serpentine.com
sysname: Linux

Comment 1 Harald Hoyer 2004-06-04 10:54:50 UTC

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

Comment 2 Red Hat Bugzilla 2006-02-21 19:03:55 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.