Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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.