Bug 1005721

Summary: mount.nfs can not parse the -o vers=3
Product: Red Hat Enterprise Linux 5 Reporter: JianHong Yin <jiyin>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: jlayton
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1005725 (view as bug list) Environment:
Last Closed: 2014-02-05 22:16:46 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:
Bug Depends On:    
Bug Blocks: 1005725    

Description JianHong Yin 2013-09-09 09:23:52 UTC
Description of problem:
mount.nfs can not parse the -o vers=3

Version-Release number of selected component (if applicable):
RedHatEnterpriseServer 5.10
nfs-utils-1.0.9-69.el5

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
[root@dhcp-13-194 ~]# lsb_release -sir
RedHatEnterpriseServer 5.10
[root@dhcp-13-194 ~]# rpm -q nfs-utils
nfs-utils-1.0.9-69.el5
[root@dhcp-13-194 ~]# mount.nfs  -o vers=3  127.0.0.1:/tmp  /media/
usage: mount.nfs remotetarget dir [-rvVwfnh] [-t version] [-o nfsoptions]
options:
        -r              Mount file system readonly
        -v              Verbose
        -V              Print version
        -w              Mount file system read-write
        -f              Fake mount, don't actually mount
        -n              Do not update /etc/mtab
        -s              Tolerate sloppy mount options rather than failing.
        -h              Print this help
        version         nfs4 - NFS version 4, nfs - older NFS version supported
        nfsoptions      Refer mount.nfs(8) or nfs(5)

[root@dhcp-13-194 ~]# mount.nfs  -o nfsvers=3  127.0.0.1:/tmp  /media/
usage: mount.nfs remotetarget dir [-rvVwfnh] [-t version] [-o nfsoptions]
options:
        -r              Mount file system readonly
        -v              Verbose
        -V              Print version
        -w              Mount file system read-write
        -f              Fake mount, don't actually mount
        -n              Do not update /etc/mtab
        -s              Tolerate sloppy mount options rather than failing.
        -h              Print this help
        version         nfs4 - NFS version 4, nfs - older NFS version supported
        nfsoptions      Refer mount.nfs(8) or nfs(5)

[root@dhcp-13-194 ~]# echo $?
0
[root@dhcp-13-194 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.10 Beta (Tikanga)
Kernel \r on an \m



Expected results:


Additional info:
mount  -o nfsvers=3  127.0.0.1:/tmp  /media/   # this works fine
mount.nfs  -o nfsvers=3  127.0.0.1:/tmp  /media/   #can not work

RHEL5.9 has same problem.

Comment 1 RHEL Program Management 2014-01-29 10:34:21 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 2 RHEL Program Management 2014-02-05 22:16:46 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.