[SRU] biosdevname returns identical names for two different devices.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
biosdevname (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Won't Fix
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU justification :
The 'addslot' function can return the same value for two or more interfaces (same dev->index_
Example problematic behavior:
# biosdevname -i em1
em1
# biosdevname -i em2
em3
# biosdevname -i em3
em4
# biosdevname -i rename3
em2
Another user points:
On first reboot the names are different. eth0 renamed to p4p1 and eth1 renamed to p4p2
then on next reboot eth0 renamed to p4p1 and eth1 renamed to rename3
Impact :
Without this SRU users will experience erroneous output from biosdevname ( renamed interfaces) as noticed on LP: #1293633 and LP: #1284043
Fix :
Apply fix from upstream project.
Origin: upstream, http://
Bug: https:/
Test Case :
1) Have one or more PCI ethernet cards attached
2) Have one or more onboard ethernet cards available.
3) Run biosdevname -d and notice the renamed interfaces.
If you get some rename* interfaces this bug isn't fixed, if you can see the correct bios hardware names associated with the interface, it's fixed.
Regression :
None expected
Description of the problem :
See justification
description: | updated |
description: | updated |
description: | updated |
Changed in biosdevname (Ubuntu): | |
status: | New → In Progress |
Changed in biosdevname (Ubuntu Saucy): | |
status: | New → In Progress |
Changed in biosdevname (Ubuntu Trusty): | |
status: | New → In Progress |
summary: |
- SRU for biosdevname returns identical names for two different devices. + [SRU] biosdevname returns identical names for two different devices. |
description: | updated |
description: | updated |
tags: |
added: verification-done-trusty verification-needed-saucy removed: verification-needed |
tags: | added: cts |
tags: | removed: verification-needed |
Can you make the patch look more like the upstream patch: linux.dell. com/cgi- bin/gitweb/ gitweb. cgi?p=biosdevna me.git; a=patch; h=0bc6ce6d8da61 153e7bfd1c3444a b06c0c83d0af; hp=11d0ae50aade b2917dffc809f8b d2f4a78089675
http://
There is a difference from the patch you provided and this. dep.debian. net/deps/ dep3/
In addition when you re-submit please add proper headers to the patch:
http://
Thanks