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 1330432 - pifconfig doesn't display whole interface name
Summary: pifconfig doesn't display whole interface name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-ethtool
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Python Maintainers
QA Contact: Branislav Náter
URL:
Whiteboard:
Depends On:
Blocks: 1465891
TreeView+ depends on / blocked
 
Reported: 2016-04-26 08:49 UTC by Branislav Náter
Modified: 2018-10-30 07:55 UTC (History)
5 users (show)

Fixed In Version: python-ethtool-0.8-6.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 07:54:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3039 0 None None None 2018-10-30 07:55:08 UTC

Description Branislav Náter 2016-04-26 08:49:53 UTC
Description of problem:
If interface name is long, pifconfig doesn't display whole name.

Version-Release number of selected component (if applicable):
python-ethtool-0.8-5.el7

Steps to Reproduce:
1. pifconfig
2.
3.

Actual results:
<snip>
enccw0.0. HWaddr 02:de:ad:be:ef:1e
          inet addr:10.16.66.221 Bcast:10.16.71.255   Mask:255.255.248.0
	  inet6 addr: fe80::de:adff:febe:ef1e/64 Scope: link
	  inet6 addr: 2620:52:0:1040:de:adff:febe:ef1e/64 Scope: universe
	  UP BROADCAST RUNNING MULTICAST

Expected results:
enccw0.0.8000 HWaddr 02:de:ad:be:ef:1e              <------- "8000" in interface name
          inet addr:10.16.66.221 Bcast:10.16.71.255   Mask:255.255.248.0
	  inet6 addr: fe80::de:adff:febe:ef1e/64 Scope: link
	  inet6 addr: 2620:52:0:1040:de:adff:febe:ef1e/64 Scope: universe
	  UP BROADCAST RUNNING MULTICAST

Additional info:
ifconfig displays whole name:
# ifconfig
enccw0.0.8000: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.16.66.221  netmask 255.255.248.0  broadcast 10.16.71.255
        inet6 fe80::de:adff:febe:ef1e  prefixlen 64  scopeid 0x20<link>
        inet6 2620:52:0:1040:de:adff:febe:ef1e  prefixlen 64  scopeid 0x0<global>
        ether 02:de:ad:be:ef:1e  txqueuelen 1000  (Ethernet)
        RX packets 14145  bytes 861290 (841.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1303  bytes 549551 (536.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
<snip>

Comment 1 Lumír Balhar 2017-07-03 09:49:18 UTC
Hello.

In the previous versions of python-ethtool there is a 9 chars limit for device name. In the newest version, we have a newline between device name and HW address so the limit is useless here.

I've created a simple patch. Github PR: https://github.com/fedora-python/python-ethtool/pull/31

Have a nice day.
Lumír

Comment 2 Petr Viktorin (pviktori) 2017-10-05 13:45:40 UTC
This looks like a low-priority bug, but it's probably an easy fix engineering-wise.
python-ethtool is not on the ACL, so it probably won't get fixed in RHEL 7.5. Let me know if that's a problem.

Comment 6 errata-xmlrpc 2018-10-30 07:54:59 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://access.redhat.com/errata/RHBA-2018:3039


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