Bug 1001955

Summary: rpc.statd always exit with 0, even exit with error.
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: 1001953 Environment:
Last Closed: 2014-02-05 22:17:10 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:
Bug Depends On: 1001953, 1001956    
Bug Blocks:    

Description JianHong Yin 2013-08-28 08:06:04 UTC
+++ This bug was initially created as a clone of Bug #1001953 +++

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 1 JianHong Yin 2013-08-28 08:06:32 UTC
[root@dhcp-13-194 ~]# lsb_release -sr
5.10
[root@dhcp-13-194 ~]# rpc.statd -xxx
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.
      -H                   Specify a high-availability callout program.
[root@dhcp-13-194 ~]# echo $?
0

Comment 2 RHEL Program Management 2014-01-29 10:35:13 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:17:10 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.