Bug 1021109

Summary: ifconfig shows duplicate interfaces.
Product: [Fedora] Fedora Reporter: TAKADA Yoshihito <takada>
Component: net-toolsAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 19CC: jpopelka
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: net-tools-2.0-0.15.20131119git.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-26 04:05:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch for fix nstrcmp(). none

Description TAKADA Yoshihito 2013-10-19 13:22:03 UTC
Created attachment 813989 [details]
patch for fix nstrcmp().

Description of problem:
ifconfig shows interfaces duplicated.

Version-Release number of selected component (if applicable):
net-tools-2.0-0.6.20130109git.fc19

How reproducible:
Our dear customer uses 2 dual ports NICs. the customer named those
eth0, eth1, eth01, eth02.
entry of eth01 add to after eth1 when make interfaces list.
Becaouse net-tools' nstrcmp("eth01", "eth1") returns 0.

Actual results:
ifconfig shows:
eth0
eth01
eth02
eth1
eth01
eth02

Expected results:
eth0
eth01
eth02
eth1

Additional info:

Comment 1 Jiri Popelka 2013-10-24 08:32:11 UTC
I posted your patch upstream, thanks.
http://sourceforge.net/p/net-tools/mailman/message/31543638/

Comment 2 Fedora Update System 2013-11-19 11:17:04 UTC
net-tools-2.0-0.15.20131119git.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/net-tools-2.0-0.15.20131119git.fc20

Comment 3 Fedora Update System 2013-11-19 11:17:30 UTC
net-tools-2.0-0.15.20131119git.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/net-tools-2.0-0.15.20131119git.fc19

Comment 4 Fedora Update System 2013-11-19 21:48:49 UTC
Package net-tools-2.0-0.15.20131119git.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing net-tools-2.0-0.15.20131119git.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21709/net-tools-2.0-0.15.20131119git.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-11-26 04:05:02 UTC
net-tools-2.0-0.15.20131119git.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-12-07 06:54:25 UTC
net-tools-2.0-0.15.20131119git.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.