Bug 179905 - GUI fails to load with bad hosts field
Summary: GUI fails to load with bad hosts field
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: redhat-config-nfs
Version: 4.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Nils Philippsen
QA Contact:
Depends On:
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)

Clone Of:
Last Closed: 2008-08-18 16:00:37 UTC

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):

How reproducible:

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
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 ?
  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__
  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

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.