Bug 829532 - uuid fails to generate v1 uuids based on local MAC address
Summary: uuid fails to generate v1 uuids based on local MAC address
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: uuid
Version: 16
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 847490 (view as bug list)
Depends On:
Blocks: 833429
TreeView+ depends on / blocked
 
Reported: 2012-06-07 01:53 UTC by Philip Prindeville
Modified: 2013-06-25 14:19 UTC (History)
5 users (show)

Fixed In Version: uuid-1.6.2-7.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 833429 (view as bug list)
Environment:
Last Closed: 2012-08-25 02:55:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Fix for EL6 and F16 to use getifaddrs() on linux (5.09 KB, patch)
2012-06-07 01:53 UTC, Philip Prindeville
no flags Details | Diff
Fix for EL6 and F16 to use getifaddrs() on linux (5.56 KB, patch)
2012-06-07 04:43 UTC, Philip Prindeville
philipp: review? (steve)
Details | Diff

Description Philip Prindeville 2012-06-07 01:53:06 UTC
Created attachment 590037 [details]
Fix for EL6 and F16 to use getifaddrs() on linux

Description of problem:

When running on machines which have the high-bit set (0x80) in the MAC address, this is incorrectly interpreted as the MAC field being unset (i.e. not matching interfaces found).

Also, the Linux version was not using getifaddrs() to detect NICs (due to the incorrect dependency on HAVE_NET_IF_DL_H).

Version-Release number of selected component (if applicable):

1.6.2

How reproducible:

N/A

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Philip Prindeville 2012-06-07 04:43:14 UTC
Created attachment 590064 [details]
Fix for EL6 and F16 to use getifaddrs() on linux

Comment 2 Philip Prindeville 2012-06-16 22:41:34 UTC
Do I need to do anything else to advance this?

Comment 3 Fedora Update System 2012-08-13 11:07:44 UTC
uuid-1.6.2-9.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/uuid-1.6.2-9.fc16

Comment 4 Fedora Update System 2012-08-13 11:07:56 UTC
uuid-1.6.2-11.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/uuid-1.6.2-11.fc17

Comment 5 Michal Hlavinka 2012-08-13 11:08:15 UTC
*** Bug 847490 has been marked as a duplicate of this bug. ***

Comment 6 Fedora Update System 2012-08-14 00:51:58 UTC
Package uuid-1.6.2-9.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing uuid-1.6.2-9.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11800/uuid-1.6.2-9.fc16
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2012-08-25 02:55:50 UTC
uuid-1.6.2-9.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-08-25 03:05:30 UTC
uuid-1.6.2-11.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Maurizio 2013-06-25 14:19:28 UTC
i cant set uuid and mac   imposible to use this option uuid -o


Note You need to log in before you can comment on or make changes to this bug.