Bug 1001953

Summary: rpc.statd always exit with 0, even exit with error.
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: medium Docs Contact:
Priority: high    
Version: 6.4CC: eguan, yoyang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1001955 1001956 (view as bug list) Environment:
Last Closed: 2016-06-12 03:12:02 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: 1001955, 1001956    

Description JianHong Yin 2013-08-28 08:03:36 UTC
Description of problem:
rpc.statd always exit with 0, even exit with error.

Version-Release number of selected component (if applicable):
all version in RHEL5 EHRL6 EHRL7

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
[root@dhcp-13-188 ~]# lsb_release -sr
6.4
[root@dhcp-13-188 ~]# rpc.statd -xxxx
rpc.statd: invalid option -- 'x'
usage: rpc.statd [options]
      -h, -?, --help       Print this help screen.
      -F, --foreground     Foreground (no-daemon mode)
      -d, --no-syslog      Verbose logging to stderr.  Foreground mode only.
      -p, --port           Port to listen on
      -o, --outgoing-port  Port for outgoing connections
      -V, -v, --version    Display version information and exit.
      -n, --name           Specify a local hostname.
      -P                   State directory path.
      -N                   Run in notify only mode.
      -L, --no-notify      Do not perform any notification.
      -H                   Specify a high-availability callout program.
[root@dhcp-13-188 ~]# echo $?
0


Expected results:
should exit with 1, not 0

Additional info:

Comment 2 RHEL Program Management 2013-10-14 02:31:53 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Yongcheng Yang 2016-06-12 03:12:02 UTC
Close this bug as WONTFIX according to bug 1001956 comment 6.