Bug 1037044 - [rpc.statd] option -? -h --help can not work.
Summary: [rpc.statd] option -? -h --help can not work.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On:
Blocks: 1037284
TreeView+ depends on / blocked
 
Reported: 2013-12-03 02:59 UTC by JianHong Yin
Modified: 2014-06-18 07:48 UTC (History)
0 users

Fixed In Version: nfs-utils-1.2.9-3.1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1037284 (view as bug list)
Environment:
Last Closed: 2014-06-13 09:46:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.