Bug 179905 - GUI fails to load with bad hosts field
Summary: GUI fails to load with bad hosts field
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: redhat-config-nfs
Version: 4.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-03 19:56 UTC by Christopher Dufresne
Modified: 2008-08-18 16:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-18 16:00:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Christopher Dufresne 2006-02-03 19:56:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
The NFS config GUI allows a user to enter a value for the "host(s)" field such as "hostname1, hostname2" and save. However the config GUI will fail to load from then on issuing the attached error.

The only way I could find to fix the error was to manually edit the /etc/exports file and remove "hostname1, hostname2" from the file.

Version-Release number of selected component (if applicable):
redhat-config-nfs-1.0.13-1

How reproducible:
Always

Steps to Reproduce:
1.Type two hostnames in the host(s) field seperated by a comma and a space.
2. Fill in the rest of the required fields and click OK
3.Type "redhat-config-nfs" on the command line
  

Actual Results:  attached error was issued

Expected Results:  Either
A. The config utility should not have allowed the save with the improperly formatted field
OR
B. The config utility should have been able to read the field it had saved.

Additional info:

Traceback (most recent call last):
  File "/usr/share/redhat-config-nfs/redhat-config-nfs.py", line 41, in ?
    mainWindow.mainWindow()
  File "/usr/share/redhat-config-nfs/mainWindow.py", line 126, in __init__
    self.exports = nfsBackend.NfsBackend()
  File "/usr/share/redhat-config-nfs/nfsBackend.py", line 31, in __init__
    self.parseFile()
  File "/usr/share/redhat-config-nfs/nfsBackend.py", line 89, in parseFile
    self.parseOptions(nfsDataObject, host)
  File "/usr/share/redhat-config-nfs/nfsBackend.py", line 93, in parseOptions
    hostname, options = string.split(data, "(")
ValueError: unpack list of wrong size

Comment 2 Phil Knirsch 2008-08-18 16:00:37 UTC
This request was evaluated by Red Hat Engineering for inclusion in a Red
Hat Enterprise Linux maintenance release.

Red Hat does not currently plan to provide this change in a Red Hat Enterprise
Linux update release for currently deployed products.

With the goal of minimizing risk of change for deployed systems, and in
response to customer and partner requirements, Red Hat takes a conservative
approach when evaluating enhancements for inclusion in maintenance updates
for currently deployed products. The primary objectives of update releases
are to enable new hardware platform support and to resolve critical
defects.

However, Red Hat will further review this request for potential inclusion
in future major releases of Red Hat Enterprise Linux.


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