Bug 63321 - Cluadmin's nfs export checks fail for numeric options
Summary: Cluadmin's nfs export checks fail for numeric options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: clumanager
Version: 2.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jason Baron
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-04-12 15:50 UTC by Tim Burke
Modified: 2013-03-06 05:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-05-06 13:38:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:226 0 normal SHIPPED_LIVE Fixes for clumanager addressing starvation and service hangs 2002-10-08 04:00:00 UTC

Description Tim Burke 2002-04-12 15:50:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
Tim Burke wrote:
When you create an NFS service, it prompts for export options.  For example,
these may be rw,root_squash.  There are checks in the routines called by
cluadmin to validate that the export options are vaild.  This is relatively
simple for cases like "rw" and "root_squash".  There are other export options
which allow you to designate numeric values.  For example:
anonuid=-2,anongid=-2

Test case: verify that you can designate numeric export options during service
creation. Note: currently cluadmin emits a warning on this type, which it shouldn't.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Specify one of those numeric parameters and cluadmin will complain.
2.This problem only causes an annoying message, fortunately you can continue to
enter the desired parameter.
3.
	

Actual Results:  Warning messages appear.

Additional info:

Comment 1 Lon Hohberger 2002-06-18 18:22:37 UTC
This was due to two problems:
(1) cluadmin.tcl squeezed the whitespace out of mount/export options _after_ it
checked them in svc_db.c, and
(2) svc_db.c had two slight problems - the checks for the numeric args in
question ("anonuid", "anongid") didn't exist and the check function itself had a
bug when parsing numeric arguments.

Fixes in pool.


Note You need to log in before you can comment on or make changes to this bug.