Bug 1037044

Summary: [rpc.statd] option -? -h --help can not work.
Product: Red Hat Enterprise Linux 7 Reporter: JianHong Yin <jiyin>
Component: nfs-utilsAssignee: Steve Dickson <steved>
Status: CLOSED CURRENTRELEASE QA Contact: JianHong Yin <jiyin>
Severity: high Docs Contact:
Priority: high    
Version: 7.0Keywords: Regression
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nfs-utils-1.2.9-3.1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1037284 (view as bug list) Environment:
Last Closed: 2014-06-13 09:46:23 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:    
Bug Blocks: 1037284    

Description JianHong Yin 2013-12-03 02:59:47 UTC
Description of problem:
[rpc.statd] option -? -h --help can not work.

Version-Release number of selected component (if applicable):
# rpm -q nfs-utils
nfs-utils-1.2.9-0.3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. rpc.statd -?
2. rpc.statd -h
3. rpc.statd --help

Actual results:
[root@dhcp12-144 ~]# rpc.statd   -?
Statd service already running!

Expected results:
output the help usage.

Additional info:

Comment 1 JianHong Yin 2013-12-03 04:29:54 UTC
If kill all rpc.statd, it works.
But the help option should always work for user.

Comment 2 JianHong Yin 2013-12-03 05:03:13 UTC
test in RHEL6.4 OK
test in RHEL6.5 OK

test in RHEL7.0 FAIL,
test in RHEL5.10 FAIL, with the same problem.

Comment 6 JianHong Yin 2014-02-07 02:07:25 UTC
[root@ibm-p730-01-lp1 ~]# rpm -q nfs-utils
nfs-utils-1.2.9-4.el7.ppc64
[root@ibm-p730-01-lp1 ~]# rpc.statd -?
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@ibm-p730-01-lp1 ~]# rpc.statd -h
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@ibm-p730-01-lp1 ~]# rpc.statd --help
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@ibm-p730-01-lp1 ~]#

Comment 7 Ludek Smid 2014-06-13 09:46:23 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.