Bug 179905 - GUI fails to load with bad hosts field
GUI fails to load with bad hosts field
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: redhat-config-nfs (Show other bugs)
4.0
x86_64 Linux
medium Severity low
: ---
: ---
Assigned To: Nils Philippsen
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-03 14:56 EST by Christopher Dufresne
Modified: 2008-08-18 12:00 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-18 12:00:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christopher Dufresne 2006-02-03 14:56:57 EST
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 12:00:37 EDT
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.