Hide Forgot
+++ 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:
[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
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.
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.