Red Hat Bugzilla – Bug 179905
GUI fails to load with bad hosts field
Last modified: 2008-08-18 12:00:37 EDT
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):
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.
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
File "/usr/share/redhat-config-nfs/nfsBackend.py", line 93, in parseOptions
hostname, options = string.split(data, "(")
ValueError: unpack list of wrong size
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.