Bug 1005716

Summary: mount.nfs exit code not right.
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: medium 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: 1005697 Environment:
Last Closed: 2014-02-05 22:16:51 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: 1005697    
Bug Blocks:    

Comment 1 JianHong Yin 2013-09-09 09:16:00 UTC
[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

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