Bug 1010631 - [exportfs] error(unknown keyword "test-client-(rw") happen, when /proc/fs/nfsd not mount
Summary: [exportfs] error(unknown keyword "test-client-(rw") happen, when /proc/fs/nfs...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.5
Hardware: All
OS: Linux
high
low
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-22 07:30 UTC by JianHong Yin
Modified: 2016-12-05 09:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-21 20:38:45 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1401396 0 unspecified CLOSED exportfs: /proc/fs/nfs/exports:1: unknown keyword "test-client-(rw" 2021-02-22 00:41:40 UTC

Internal Links: 1401396

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?


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