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 1276661 - Doc: ip-neighbour man page and ip neighbour help issues
Summary: Doc: ip-neighbour man page and ip neighbour help issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Phil Sutter
QA Contact: Jaroslav Aster
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-30 12:09 UTC by Jaroslav Aster
Modified: 2016-11-03 23:36 UTC (History)
0 users

Fixed In Version: iproute-3.10.0-70.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:36:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2162 0 normal SHIPPED_LIVE iproute bug fix and enhancement update 2016-11-03 13:14:33 UTC

Description Jaroslav Aster 2015-10-30 12:09:20 UTC
Description of problem:

This bug describes several issues which was founded in ip-neighbour manpage and ip neighbour help.


Version-Release number of selected component (if applicable):

iproute-3.10.0-54.el7


How reproducible:

100%


1,

There are bad offsets of starts of description of commands ip neighbour delete/show/flush in ip-neighbour man page.

       stale  the neighbour ...
              ip neighbour delete - delete a neighbour entry
       This command invalidates a neighbour entry.


       Warning: Attempts to ...
       interface or if the address is multicast or broadcast.

              ip neighbour show - list neighbour entries

       This command displays neighbour tables.


       nud NUD_STATE
              only list neighbour ...

              ip neighbour flush - flush neighbour entries

       This command flushes neighbour tables, selecting entries to ...

The fix is easy.

2,

ip neighbour recognises 9 nud states: permanent, reachable, noarp, none, stale, incomplete, delay, probe, failed, but not all are mentioned in ip neighbour man page or ip neigh help.

The fix is easy.

Comment 1 Jaroslav Aster 2015-10-30 16:25:41 UTC
Founded issues:

:: [   FAIL   ] :: Checking there is 'all' in ip neighbour help. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'unused' in ip neighbour help. (Expected 0, got 1)

all and unused are used in flush and show commands.

:: [   FAIL   ] :: Checking there is 'probe' in ip neighbour help. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'probe' in ip-neighbour man page. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'failed' in ip neighbour help. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'failed' in ip-neighbour man page. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'incomplete' in ip neighbour help. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'incomplete' in ip-neighbour man page. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'delay' in ip neighbour help. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'delay' in ip-neighbour man page. (Expected 0, got 1)
:: [   FAIL   ] :: Checking there is 'none' in ip neighbour help. (Expected 0, got 1)

probe, failed, incomplete delay and none are nud states.

Comment 2 Phil Sutter 2016-01-12 17:08:12 UTC
The following upstream commit fixes the first issue:

commit 882e754cd4b3f302714bae777ee674fe6c61d04b
Author: Stephen Hemminger <stephen>
Date:   Mon Mar 31 20:23:40 2014 -0700

    fix indentation of ip neighbour man page
    
    Formatting was awful and unclear on ip neighbour

The second issue still needs to be fixed upstream.

Comment 5 Jaroslav Aster 2016-07-21 14:08:44 UTC
(In reply to Phil Sutter from comment #2)
> 
> The second issue still needs to be fixed upstream.

Understand, but help and man-page are still inconsistent so switching it to assigned state.


man-page:

       STATE := { permanent | noarp | stale | reachable | none | incomplete | delay | probe | failed }


help:

          [ nud { permanent | noarp | stale | reachable } ]

Comment 8 errata-xmlrpc 2016-11-03 23:36:42 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/RHEA-2016-2162.html


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