Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1010631

Summary: [exportfs] error(unknown keyword "test-client-(rw") happen, when /proc/fs/nfsd not mount
Product: Red Hat Enterprise Linux 6 Reporter: JianHong Yin <jiyin>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED WONTFIX QA Contact: Yongcheng Yang <yoyang>
Severity: low Docs Contact:
Priority: high    
Version: 6.5CC: eguan
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-21 20:38:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description JianHong Yin 2013-09-22 07:30:08 UTC
Description of problem:
some error message find in kernel test cases:
==> unknown keyword "test-client-(rw") happen
by debug, if /proc/fs/nfsd not mount, it happens always.

Version-Release number of selected component (if applicable):
Now test in RHEL6.4 and RHEL6.5-20130913.0 it reproduced. (5.10 7.0 is OK)
nfs-utils-1.2.3-36 nfs-utils-1.2.3-38

How reproducible:
100%

Steps to Reproduce:
1. service nfs start
2. pkill rpc.mountd && umount /proc/fs/nfsd
3. exportfs -iv *:/tmp

Actual results:
[root@intel-canoepass-01 ~]# exportfs -iv *:/tmp
exporting *:/tmp
exportfs: /proc/fs/nfs/exports:1: unknown keyword "test-client-(rw"

Expected results:
no error.

Additional info:
  Test In RHEL5.10 RHEL7.0 it not happen;

Comment 2 Steve Dickson 2013-09-22 09:20:23 UTC
(In reply to Yin.JianHong from comment #0)
> Description of problem:
> some error message find in kernel test cases:
> ==> unknown keyword "test-client-(rw") happen
> by debug, if /proc/fs/nfsd not mount, it happens always.
> 
> Version-Release number of selected component (if applicable):
> Now test in RHEL6.4 and RHEL6.5-20130913.0 it reproduced. (5.10 7.0 is OK)
> nfs-utils-1.2.3-36 nfs-utils-1.2.3-38
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. service nfs start
> 2. pkill rpc.mountd && umount /proc/fs/nfsd
Unmounting /proc/fs/nfsd will break a number of things. Its invalid configuration something that is not supported.

> 3. exportfs -iv *:/tmp
> 
> Actual results:
> [root@intel-canoepass-01 ~]# exportfs -iv *:/tmp
> exporting *:/tmp
> exportfs: /proc/fs/nfs/exports:1: unknown keyword "test-client-(rw"
> 
> Expected results:
> no error.
> 
> Additional info:
>   Test In RHEL5.10 RHEL7.0 it not happen;

Comment 3 JianHong Yin 2013-09-22 09:43:23 UTC
(In reply to Steve Dickson from comment #2)
> (In reply to Yin.JianHong from comment #0)
> > Description of problem:
> > some error message find in kernel test cases:
> > ==> unknown keyword "test-client-(rw") happen
> > by debug, if /proc/fs/nfsd not mount, it happens always.
> > 
> > Version-Release number of selected component (if applicable):
> > Now test in RHEL6.4 and RHEL6.5-20130913.0 it reproduced. (5.10 7.0 is OK)
> > nfs-utils-1.2.3-36 nfs-utils-1.2.3-38
> > 
> > How reproducible:
> > 100%
> > 
> > Steps to Reproduce:
> > 1. service nfs start
> > 2. pkill rpc.mountd && umount /proc/fs/nfsd
> Unmounting /proc/fs/nfsd will break a number of things. Its invalid
> configuration something that is not supported.
-In RHEL7.0 it's OK;

-Sometimes we need build testEnv by err config to cover many code branch.
Though the env has an "error" config.
But This is a code logic error:
Anyway the code should recognize this special options "-test-client-",
 and should not give that err message to confuse our customers or users.

> 
> > 3. exportfs -iv *:/tmp
> > 
> > Actual results:
> > [root@intel-canoepass-01 ~]# exportfs -iv *:/tmp
> > exporting *:/tmp
> > exportfs: /proc/fs/nfs/exports:1: unknown keyword "test-client-(rw"
> > 
> > Expected results:
> > no error.
> > 
> > Additional info:
> >   Test In RHEL5.10 RHEL7.0 it not happen;

Comment 4 Steve Dickson 2015-04-21 20:38:45 UTC
(In reply to Yin.JianHong from comment #0)
> Description of problem:
> some error message find in kernel test cases:
> ==> unknown keyword "test-client-(rw") happen
> by debug, if /proc/fs/nfsd not mount, it happens always.
> 
> Version-Release number of selected component (if applicable):
> Now test in RHEL6.4 and RHEL6.5-20130913.0 it reproduced. (5.10 7.0 is OK)
> nfs-utils-1.2.3-36 nfs-utils-1.2.3-38
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. service nfs start
> 2. pkill rpc.mountd && umount /proc/fs/nfsd
> 3. exportfs -iv *:/tmp
This is not a supported configuration. Customers are
not going to be killing things and unmount things
with the expectation of a stable/errorless system.
 
> 
> Additional info:
>   Test In RHEL5.10 RHEL7.0 it not happen;

This is pure luck! ;-)

Comment 5 JianHong Yin 2015-04-22 01:06:47 UTC
(In reply to Steve Dickson from comment #4)
> (In reply to Yin.JianHong from comment #0)
> > Description of problem:
> > some error message find in kernel test cases:
> > ==> unknown keyword "test-client-(rw") happen
> > by debug, if /proc/fs/nfsd not mount, it happens always.
> > 
> > Version-Release number of selected component (if applicable):
> > Now test in RHEL6.4 and RHEL6.5-20130913.0 it reproduced. (5.10 7.0 is OK)
> > nfs-utils-1.2.3-36 nfs-utils-1.2.3-38
> > 
> > How reproducible:
> > 100%
> > 
> > Steps to Reproduce:
> > 1. service nfs start
> > 2. pkill rpc.mountd && umount /proc/fs/nfsd
> > 3. exportfs -iv *:/tmp
> This is not a supported configuration. Customers are
> not going to be killing things and unmount things
> with the expectation of a stable/errorless system.
>  
> > 
> > Additional info:
> >   Test In RHEL5.10 RHEL7.0 it not happen;
> 
> This is pure luck! ;-)

Ok,,steved. but I still think there is a logic defect..

Why in RHEL-5 and RHEL-7 test pass?