Bug 682365
Summary: | assumes all ethernet devices are named ethX | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> | ||||||
Component: | mysql | Assignee: | Tom Lane <tgl> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 15 | CC: | hhorak, matt_domsch, rvokal, tgl, the.ridikulus.rat | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | mysql-5.5.18-1.fc15 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 682366 (view as bug list) | Environment: | |||||||
Last Closed: | 2011-12-02 21:27:10 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 682334, 682366 | ||||||||
Attachments: |
|
Description
Bill Nottingham
2011-03-05 00:12:58 UTC
[ raised eyebrow... ] Changing that naming convention is going to break boatloads of stuff, much of it user-written scripts that we couldn't fix if we wanted to. You *sure* this is a good idea? Tom: yes. The feature page describes how to disable the new naming convention, but the approved feature is enabled by default in F15. Created attachment 529924 [details]
proposed patch that creates a "sum" of all interfaces
Since hw address is needed only for initiate a seed for pseudo-random number generator, we can return a value, that is unique enough to the machine, rather then the mac address. This patch loops through all interfaces and creates byte-by-byte sum of all devices.
If real hw address should be returned, we'd need find out if the interface is a real one or just a virtual (loopback, virtual bridge, ...). One way (not sure how reliable it is) is compare the address with 00:00:00:00:00:00, since virtual interfaces seems to have zero address.
Created attachment 531117 [details] proposed patch that takes the first non-zero HW address Since there is a comment in mysys/my_gethwaddr.c, that we can use any of non-zero HW address, this patch fixes the issue that way. The patch has also been sent to upstream: http://bugs.mysql.com/bug.php?id=63055 Since this bug is against F15, I was planning to keep it open until the patch can be back-patched. That's waiting on some other stuff though ... mysql-5.5.18-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mysql-5.5.18-1.fc15 Package mysql-5.5.18-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mysql-5.5.18-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16293/mysql-5.5.18-1.fc15 then log in and leave karma (feedback). mysql-5.5.18-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |