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 1155116 - iproute2: implement "-d" option for "ip mon"
Summary: iproute2: implement "-d" option for "ip mon"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Šimerda (pavlix)
QA Contact: Jaroslav Aster
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-21 11:56 UTC by Jiri Pirko
Modified: 2015-11-19 14:39 UTC (History)
7 users (show)

Fixed In Version: iproute-3.10.0-50.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 14:39:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1042802 0 unspecified CLOSED backport: ip -d monitor link is not as verbose as ip -d link 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:2117 0 normal SHIPPED_LIVE iproute bug fix and enhancement update 2015-11-19 11:35:06 UTC

Internal Links: 1042802

Description Jiri Pirko 2014-10-21 11:56:18 UTC
Description of problem:

Currently, "ip -d link" shows details received in IFLA_INFO_DATA attr. But when one is using "ip mon", user is not possible to see such details. "-d" option is missing there.

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

How reproducible:
always

Steps to Reproduce:
1. run "ip -d mon"
2. change some device option which is exported via IFLA_INFO_DATA. Bond mode for example is nice for this upstream. In rhel7, there are various vlan, macvlan, gre options.

Actual results:
"ip -d mon" shows netlink event on the device but it is not able to show the details stored in IFLA_INFO_DATA attr.

Expected results:
"ip -d mon" shows netlink event on the device and shows the details stored in IFLA_INFO_DATA attr.

Additional info:
None

Comment 11 Jaroslav Aster 2015-07-15 15:21:11 UTC
# ip l add name test link enp0s25 type vlan id 1234

iproute-3.10.0-21.el7

# ip -d monitor link
39: test@enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 28:d2:44:55:5a:fd brd ff:ff:ff:ff:ff:ff

iproute-3.10.0-46.el7

40: test@enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 28:d2:44:55:5a:fd brd ff:ff:ff:ff:ff:ff promiscuity 0 
    vlan protocol 802.1Q id 1234 <REORDER_HDR>

Is this ok?

Is there any way how I can see netlink IFLA_INFO_DATA messages without iproute?

Comment 12 Jiri Benc 2015-07-15 15:36:51 UTC
Looks okay.

To see raw netlink messages, you can use nlmon (I don't think we have it packaged, though).

Comment 14 Phil Sutter 2015-08-07 12:56:36 UTC
'ip --help' shows the missing '-d[etails]' option, therefore it belongs to ip manpage and not that of ip-monitor. The new release iproute-3.10.0-50 extends ip manpage by '-details'. This change is added to the changelog, therefore all complaints are fixed by it. :)

Cheers, Phil

Comment 16 errata-xmlrpc 2015-11-19 14:39:36 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-2117.html


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