Bug 74311
| Summary: | improperly written host IPs cause cause application parse errors. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | bman <bman_08> | ||||
| Component: | redhat-config-nfs | Assignee: | Brent Fox <bfox> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 8.0 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2003-09-03 22:15:14 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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. |
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): How reproducible: Always 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 ? mainWindow.mainWindow() 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__ self.parseFile() File "/usr/share/redhat-config-nfs/nfsBackend.py", line 88, in parseFile hostname, options = string.split(tokens[1], "(") ValueError: unpack list of wrong size Expected Results: the application should have started and let me correct the host list. Additional info: