+++ This bug was initially created as a clone of Bug #157657 +++ Related to bug 129840 FC4 test3 but goes back to RHEL3 and probably even earlier: python -c "from rhpl import ethtool; print ethtool.get_ipaddr('lo')" 127.00.00.01 This means we cannot use the output to popuate things like ifcfg-* because of the padded octet. up2date uses rhpl.ethtool to extract network interface information, and that information is put in RHN, and RHN tries to deploy configuration files by doing macro expansion with info from the database. -- Additional comment from mihai.ibanescu on 2005-05-13 11:00 EST -- The problem seems to be in ethtool.c line 196 sprintf(ipaddr, "%02u.%02u.%02u.%02u", (unsigned int)ifr.ifr_addr.sa_data[2] % 256, (unsigned int)ifr.ifr_addr.sa_data[3] % 256, (unsigned int)ifr.ifr_addr.sa_data[4] % 256, (unsigned int)ifr.ifr_addr.sa_data[5] % 256); Is there a reason why it's doing the padding? -- Additional comment from clumens on 2005-05-16 11:54 EST -- None that I can see. Fixed in CVS.
Created attachment 309050 [details] suggested patch
Bug is still present in RHEL4 and breaks Satellite's provisioning.
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
setting flag rhel4.9 ? This bug has a downstream effect on Satellite provisioning (see bug 129840). A fix should be considered in the next release.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.