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 963512 - Cmd rpcinfo usage info is not correct. And the two usage info from 'rpcinfo -h' and man page are inconsistent.
Summary: Cmd rpcinfo usage info is not correct. And the two usage info from 'rpcinfo ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpcbind
Version: 7.0
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: 7.0
Assignee: Steve Dickson
QA Contact: JianHong Yin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-16 02:46 UTC by JianHong Yin
Modified: 2015-03-05 11:22 UTC (History)
2 users (show)

Fixed In Version: rpcbind-0.2.0-25.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 11:22:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0489 0 normal SHIPPED_LIVE rpcbind bug fix and enhancement update 2015-03-05 16:02:13 UTC

Description JianHong Yin 2013-05-16 02:46:13 UTC
Description of problem:
The two usage info from 'rpcinfo -h' and man page  are inconsistent.

Version-Release number of selected component (if applicable):
rpcbind-0.2.0-19
rpcbind-0.2.0-20

How reproducible:
always

Steps to Reproduce:
1.rpcinfo -h
2.man rpcinfo | head -n17
3.
  
Actual results:
the two is difference.

Expected results:
you known

Additional info:
in the man page.
 rpcinfo -l [-T transport] host prognum [versnum]  # the versnum is optional
 but in fact it is wrong.

 please check others.
  Be sure the usage in man page and code consistent, and correct.

Comment 2 JianHong Yin 2013-05-16 02:50:49 UTC
The screen log:

# rpcinfo -h
rpcinfo: invalid option -- 'h'
Usage: rpcinfo [-m | -s] [host]
       rpcinfo -p [host]
       rpcinfo -T netid host prognum [versnum]
       rpcinfo -l host prognum versnum
       rpcinfo [-n portnum] -u | -t host prognum [versnum]
       rpcinfo -a serv_address -T netid prognum [version]
       rpcinfo -b prognum versnum
       rpcinfo -d [-T netid] prognum versnum
# man rpcinfo | head -n17
RPCINFO(8)                                       BSD System Manager's Manual                                       RPCINFO(8)

NAME
     rpcinfo — report RPC information

SYNOPSIS
     rpcinfo [-m | -s] [host]
     rpcinfo -p [host]
     rpcinfo -T transport host prognum [versnum]
     rpcinfo -l [-T transport] host prognum [versnum]
     rpcinfo [-n portnum] -u host prognum [versnum]
     rpcinfo [-n portnum] [-t] host prognum [versnum]
     rpcinfo -a serv_address -T transport prognum [versnum]
     rpcinfo -b [-T transport] prognum versnum
     rpcinfo -d [-T transport] prognum versnum

DESCRIPTION

Comment 3 Qian Cai 2013-08-29 07:29:52 UTC
Easy fix. Can you attach a patch?

Comment 4 JianHong Yin 2013-08-29 07:55:22 UTC
(In reply to CAI Qian from comment #3)
> Easy fix. Can you attach a patch?

oh, sorry recently no;
I have no time to fix these mistake. why our developer not?
There are many cases I need to write,, and errata, and new testplan  please..

Comment 5 RHEL Program Management 2014-03-22 06:51:36 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 9 Steve Dickson 2014-09-22 12:51:06 UTC
ommit 6e67b1e5e3a36649ad05829f8bae9d2a9e703594
Author: Steve Dickson <steved>
Date:   Mon Sep 22 08:49:08 2014 -0400

    rpcinfo: Fixed typo in rpcinfo man page
    
    Signed-off-by: Steve Dickson <steved>

Comment 11 JianHong Yin 2014-11-07 10:52:37 UTC
[root@rdma-qe-11 ~]# rpm -q rpcbind 
rpcbind-0.2.0-25.el7.x86_64
[root@rdma-qe-11 ~]# rpcinfo -h
rpcinfo: invalid option -- 'h'
Usage: rpcinfo [-m | -s] [host]
       rpcinfo -p [host]
       rpcinfo -T netid host prognum [versnum]
       rpcinfo -l host prognum versnum
       rpcinfo [-n portnum] -u | -t host prognum [versnum]
       rpcinfo -a serv_address -T netid prognum [version]
       rpcinfo -b prognum versnum
       rpcinfo -d [-T netid] prognum versnum
[root@rdma-qe-11 ~]#  man rpcinfo | head -n17
RPCINFO(8)                                                               BSD System Manager's Manual                                                              RPCINFO(8)

NAME
     rpcinfo — report RPC information

SYNOPSIS
     rpcinfo [-m | -s] [host]
     rpcinfo -p [host]
     rpcinfo -T transport host prognum [versnum]
     rpcinfo -l [-T transport] host prognum versnum
     rpcinfo [-n portnum] -u host prognum [versnum]
     rpcinfo [-n portnum] [-t] host prognum [versnum]
     rpcinfo -a serv_address -T transport prognum [versnum]
     rpcinfo -b [-T transport] prognum versnum
     rpcinfo -d [-T transport] prognum versnum

DESCRIPTION

Comment 13 errata-xmlrpc 2015-03-05 11:22:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0489.html


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