Bug 520268

Summary: allow changing different mac addresses within one second
Product: [Fedora] Fedora Reporter: ra <tim.faber>
Component: macchangerAssignee: Tomas Hoger <thoger>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: thoger
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 20:49: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:
Attachments:
Description Flags
Use pid and time for random initalization (patch needs %define _default_patch_fuzz 2) none

Description ra 2009-08-29 22:47:34 UTC
Created attachment 359175 [details]
Use pid and time for random initalization (patch needs %define _default_patch_fuzz 2)

Description of problem:
If you want to change mac addresses of more then one interface within one second, macchanger sets only one mac address.

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

How reproducible:
always

Steps to Reproduce:
1. macchanger -r eth0
2. macchanger -r eth1 (within one second)
  
Actual results:
eth0 and eth1 get the very same mac address.

Expected results:
eth0 and eth1 should get different mac addresses.

Additional info:
patch has already been submitted and excepted upstream and will be included in the next release. but looking at the release history the next release will unlikely be within the next months..

Comment 1 Tomas Hoger 2009-08-30 16:26:14 UTC
(In reply to comment #0)
> If you want to change mac addresses of more then one interface within one
> second, macchanger sets only one mac address.

Right, I learnt about this issue quite a long time before taking over this package not many days ago and was one of the first things I planned to change.  Probably easiest way to reproduce is to run macchanger in loop on one interface and see lot of errors:

  It's the same MAC!!

> patch has already been submitted and excepted upstream and will be included in
> the next release.

Excepted?  Did you mean accepted?

Comment 2 ra 2009-08-30 17:09:15 UTC
uuum.. "accepted", yes.
I sent the patch upstream (to Alvaro Lopez Ortega) about 1 year ago.

Comment 3 Tomas Hoger 2009-09-02 19:18:22 UTC
Committed in Rawhide as 1.5.0-8 with few other fixes.

Do you are about updates for F10/F11, or you're already running own patched version?

Comment 4 ra 2009-09-02 20:49:10 UTC
I have been using my own patched version and just compiled/installed 1.5.0-8 which works for me. Thank you Tomas! (: