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 682368 - mii-tool will only iterate over ethX interfaces
Summary: mii-tool will only iterate over ethX interfaces
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-tools
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: ---
Assignee: Jiri Popelka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 682367
Blocks: 682269
TreeView+ depends on / blocked
 
Reported: 2011-03-05 00:21 UTC by Bill Nottingham
Modified: 2014-03-17 03:26 UTC (History)
6 users (show)

Fixed In Version: net-tools-1.60-105.el6
Doc Type: Bug Fix
Doc Text:
Unless a device name was specified on the command line, the mii-tool utility automatically checked Ethernet interfaces from eth0 to eth7. Similarly, running the mii-diag or ether-wake utility without the device name caused it to use eth0 by default. However, Red Hat Enterprise Linux 6.1 introduces the possibility to use arbitrary names for these network interfaces. Because of this, the mii-tool, mii-diag, and ether-wake utilities have been adapted to require a device name to be specified on the command line.
Clone Of: 682367
Environment:
Last Closed: 2011-05-19 14:03:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0690 0 normal SHIPPED_LIVE net-tools bug fix update 2011-05-18 18:10:22 UTC

Description Bill Nottingham 2011-03-05 00:21:56 UTC
+++ This bug was initially created as a clone of Bug #682367 +++

Description of problem:

Network devices can have arbitrary names, and due to
http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming, will have
different names in Fedora 15.

mii-tool, if passed no arguments, will only iterate across devices named ethX.

...
    /* No remaining args means show all interfaces. */
    if (optind == argc) {
        ret = 1;
        for (i = 0; i < MAX_ETH; i++) {
            sprintf(s, "eth%d", i);
            ret &= do_one_xcvr(skfd, s, 1);
        }
...
etc.


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

net-tools-1.60

How reproducible:

By inspection.

Additional info:

It does say the program is obsolete. We could just remove it?

Comment 2 Jiri Popelka 2011-03-11 10:18:29 UTC
Without any argument it just don't print anything for
device with name other than ethX.
When passing device name as argument mii-tool works as expected.

So I think this isn't a blocker/exception and therefore can be moved to 6.2

Comment 13 Jaromir Hradilek 2011-04-04 15:10:44 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Unless a device name was specified on the command line, the mii-tool utility automatically checked Ethernet interfaces from eth0 to eth7. Similarly, running the mii-diag or ether-wake utility without the device name caused it to use eth0 by default. However, Red Hat Enterprise Linux 6.1 introduces the possibility to use arbitrary names for these network interfaces. Because of this, the mii-tool, mii-diag, and ether-wake utilities have been adapted to require a device name to be specified on the command line.

Comment 14 errata-xmlrpc 2011-05-19 14:03:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0690.html


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