Red Hat Bugzilla – Bug 613086
Use ip instead of ifconfig for IPoIB interfaces:
Last modified: 2013-11-03 21:00:21 EST
Description of problem:
Rdma init script is utilizing ifconfig utility to control IPoIB interfaces which is producing lotsa of warning messages such as:
"Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Probably ip should be used in favor of ifconfig.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Changes made, will be tested tomorrow and checked in after successful tests.
Note: I changed all usage of ifconfig to ip in the files owned by the rdma package. However, ifup-aliases from initscripts still uses ifconfig and on IPoIB interfaces it is still noisy. We would need to clone this bug against initscripts and get ifup-aliases modified in order to fully resolve the issue.
Verifying this bug, but as comment #3 mentioned ifup- aliases still utilize ifconfig , so if someone's to do say, ifup ib0, s/he would still get the noise.
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.