Hide Forgot
+++ This bug was initially created as a clone of Bug #682365 +++ Description of problem: Network devices can have arbitrary names, and due to http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming, will have different names in Fedora 15. my_gethwaddr.c: strnmov(ifr.ifr_name, "eth0", sizeof(ifr.ifr_name) - 1); do { if (ioctl(fd, SIOCGIFHWADDR, &ifr) >= 0) { memcpy(to, &ifr.ifr_hwaddr.sa_data, ETHER_ADDR_LEN); res= memcmp(to, zero_array, ETHER_ADDR_LEN) ? 0 : 1; } } while (res && (errno == 0 || errno == ENODEV) && ifr.ifr_name[3]++ < '6'); Now, since this is only used to initialize the UUID (afaict), and there is fallback code for that, it may not be critical to fix this. Filing for completeness. Version-Release number of selected component (if applicable): mysql-5.5.8 How reproducible: By inspection.
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. If you would like it considered as an exception in the current release, please ask your support representative.
This has been dealt with in Fedora, so will show up in RHEL7. Do we really need to fix it in RHEL6?
Just FTR, MariaDB upstream used a bit different approach as a fix than we did in Bug #682365, so in case we're gonna fix it for RHEL-6, we should look at the MariaDB's solution as well. http://bazaar.launchpad.net/~maria-captains/maria/5.5/view/head:/mysys/my_gethwaddr.c#L85