Bug 1399813 - Enabling biosdevname has not effect
Summary: Enabling biosdevname has not effect
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: biosdevname
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-29 19:22 UTC by David Jones
Modified: 2017-03-31 14:36 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-31 14:36:59 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description David Jones 2016-11-29 19:22:42 UTC
Description of problem:
I have a net-booted image created from RHEL 7.2 minimal, that boots via pxelinux. Because it's a minimal install, consistent interface naming is not enabled. Enabling it using the kernel parameters has no effect.


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


How reproducible:
Always


Steps to Reproduce:
1. Append "biosdevname=1 net.ifname=0" to the PXE kernel options
2. Boot the system from the image. 
3. Run "ip addr" to to check interface names. 

Actual results:
Interface names use "ethX" convention.

Expected results:
Interface names should follow biosdevname.


Additional info:

I've confirmed that biosdevname is installed, and am able to determine the "BIOS device" name using "biosdevname -d". 

I've confirmed that the kernel command line parameters are correct using "cat /proc/cmdline". 

The systemd-networkd service is being used to manage the network, and configure the interfaces. But there are no renaming rules.

Comment 2 Michal Sekletar 2016-12-05 13:56:14 UTC
I will need more data to determine why biosdevname naming scheme is not applied. sos_report would be ideal. If you can't attach sos_report, than gather at least output of the following tools: 

- biosdevname -d
- udevadm test --action=add /sys/class/net/eth0
- dmidecode
- lspci -vvv


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