Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 920408

Summary: The result of "showmount -a" is incorrect after set MOUNTD_NFS_V2=no or MOUNTD_NFS_V3=no in /etc/sysconfig/nfs
Product: Red Hat Enterprise Linux 5 Reporter: Luan Jianhai <jianhai.luan>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED WONTFIX QA Contact: Yongcheng Yang <yoyang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: eguan, huazhang, jiyin, jlayton, ovasik, steved, xzhou
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 21:47:18 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:
Attachments:
Description Flags
showmount: Try the highest mount version then fall back to lower ones none

Description Luan Jianhai 2013-03-12 03:25:13 UTC
Description of problem:
  edit /etc/sysconfig/nfs and set  MOUNTD_NFS_V2=no
  service nfs restart
  The result of the comand "showmount -a" is incorrect. 

Version-Release number of selected component (if applicable):
  nfs-utils-1.0.9-66

How reproducible:
  edit /etc/sysconfig/nfs and set  MOUNTD_NFS_V2=no or MOUNTD_NFS_V3=no
  service nfs restart
  The result of the command "showmount -a" is incorrect.

Steps to Reproduce:
1. edit /etc/sysconfig/nfs and set  MOUNTD_NFS_V2=no or MOUNTD_NFS_V3=no
2. service nfs restart
3. The result of the command "showmount -a" is incorrect.
  
Actual results:
  The result of the command "showmount -a" is incorrect

Expected results:
  The result should be correct.

Additional info:
  https://bugzilla.redhat.com/show_bug.cgi?id=804681

Comment 1 Luan Jianhai 2013-03-12 03:34:46 UTC
Created attachment 708734 [details]
showmount: Try the highest mount version then fall back to lower ones

Showmount should try the highest mount version first then fall back to the lower ones when the server returns a RPC_PROGVERSMISMATCH error. The idea being not using the lower mount versions will begin the process of moving away from NFSv2 support.

Comment 2 Luan Jianhai 2013-03-12 03:35:38 UTC
  http://thread.gmane.org/gmane.linux.nfs/30089 have talked about the issue, and the patch have been merge into upstream (git://linux-nfs.org/nfs-utils:917cd9a5532d90745d94045f49ee49d0a7636d6d)

showmount: Try the highest mount version then fall back to lower ones

Showmount should try the highest mount version first then fall back to the lower ones when the server returns a RPC_PROGVERSMISMATCH error. The idea being not using the lower mount versions will begin the process of moving away from NFSv2 support.


  I have back port the patch, please review the patch.

Comment 3 RHEL Program Management 2013-04-04 12:39:47 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 6 RHEL Program Management 2014-01-22 16:32:02 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 RHEL Program Management 2014-02-05 21:47:18 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 8 Murphy Zhou 2018-11-09 08:00:33 UTC
If it's too old to cover, feel free to set qe_test_coverage-.