Bug 82549

Summary: r-c-n crashes if isdn4k-utils isn't installed
Product: [Retired] Red Hat Public Beta Reporter: Panu Matilainen <pmatilai>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: phoebe   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-04 16:10:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 79579, 81720    

Description Panu Matilainen 2003-01-23 10:16:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030121

Description of problem:
If one configures an isdn profile and then try to activate it but dont have
isdn4k-utils installed r-c-n crashes with a python traceback. I think
redhat-config-network package should either require isdn4k-utils (the easy way
out :) or handle gracefully the situation (disable isdn activation if the utils
aren't present or something like that)

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


How reproducible:
Always

Steps to Reproduce:
1. rpm -e isdn4k-utils
2. create an isdn-profile with redhat-config-network
3. try to activate the profile
    

Actual Results:  Component: redhat-config-network
Version: 1.1.90
Summary: TB
/usr/lib/python2.2/site-packages/rhpl/executil.py:209:gtkExecWithCaptureStatus:RuntimeError:
/usr/sbin/isdnup can not be run
Traceback (most recent call last):
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 763, in on_deviceActivateButton_clicked
    (status, txt) = intf.activate(device)
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Control.py", line
108, in activate
    catchfd = (1,2))
  File "/usr/lib/python2.2/site-packages/rhpl/executil.py", line 209, in
gtkExecWithCaptureStatus
    raise RuntimeError, command + " can not be run"
RuntimeError: /usr/sbin/isdnup can not be run


Expected Results:  It should tell the user the utilities aren't present .. or
something along those lines.

Additional info:

Comment 1 Harald Hoyer 2003-02-04 16:10:45 UTC
it now tells user the utilities aren't present ...