From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809
Description of problem:
If a person misenters the data in the hosts box for a share, subsequent attempts
to start redhat-config-nfs will fail. Once /etc/exports has has been corrected
the problem goes away.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a share
2.under hosts list something inapropriate like several IP addresses separated by
semicolons (don't ask) The error can also be recreated with an extra newline at
the end of the /etc/exports file.
3.save and quit
Actual Results: # redhat-config-nfs
Traceback (most recent call last):
File "/usr/share/redhat-config-nfs/redhat-config-nfs.py", line 29, in ?
File "/usr/share/redhat-config-nfs/mainWindow.py", line 141, in __init__
self.exports = nfsBackend.NfsBackend()
File "/usr/share/redhat-config-nfs/nfsBackend.py", line 30, in __init__
File "/usr/share/redhat-config-nfs/nfsBackend.py", line 88, in parseFile
hostname, options = string.split(tokens, "(")
ValueError: unpack list of wrong size
Expected Results: the application should have started and let me correct the
Ok, I'll take a look at this. My parser for /etc/exports could be much better
overall, so there's some work to be done here.
*** Bug 75739 has been marked as a duplicate of this bug. ***
*** Bug 74187 has been marked as a duplicate of this bug. ***
Created attachment 92150 [details]
patch to nfsBackend to properly parse exports file
This bug is still present in RH9. This patch seems to fix the problem.
Should be fixed with redhat-config-nfs-1.0.11 in Rawhide.