Bug 847490
| Summary: | uuid does not generate UUIDs based on global MAC address | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Majid Azimi <majid.merkava> |
| Component: | uuid | Assignee: | Steven Pritchard <steve> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | mhlavink, steve |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-13 11:08:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 829532 *** |
Description of problem: OSSP uuid package fail to generate UUID based on global mac address if the name of interface is not "eth0". it falls back to local multicast mode. the source of uuid_mac.c include: if ((s = socket(PF_INET, SOCK_DGRAM, 0)) < 0) return FALSE; sprintf(ifr.ifr_name, "eth0"); if (ioctl(s, SIOCGIFHWADDR, &ifr) < 0) { close(s); return FALSE; } As you see if the interface name is not eth0(mine is p4p1 on fedora 17 generated by NetworkManager) it will fail.