Re: [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Eric Blake
On 05/25/2018 09:17 AM, Michal Privoznik wrote: We should probably seed it with data from /dev/urandom, and/or the new Linux getrandom() syscall (or BSD equivalent). I'm not quite sure that right after reboot there's going to be enough entropy. Every service that's starting wants some random b

Re: [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Michal Privoznik
On 05/25/2018 02:58 PM, Eric Blake wrote: > Reviving an ancient thread: > > On 11/04/2014 02:18 AM, Daniel P. Berrange wrote: >> On Mon, Nov 03, 2014 at 11:09:12AM -0500, Brian Rak wrote: >>> I just ran into an issue where I had about 30 guests get duplicate mac >>> addresses assigned.  These were

Re: [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Brian Rak
On 5/25/2018 8:58 AM, Eric Blake wrote: Reviving an ancient thread: On 11/04/2014 02:18 AM, Daniel P. Berrange wrote: On Mon, Nov 03, 2014 at 11:09:12AM -0500, Brian Rak wrote: I just ran into an issue where I had about 30 guests get duplicate mac addresses assigned.  These were scattered acro

Re: [libvirt-users] virRandomBits - not very random

2018-05-25 Thread Eric Blake
Reviving an ancient thread: On 11/04/2014 02:18 AM, Daniel P. Berrange wrote: On Mon, Nov 03, 2014 at 11:09:12AM -0500, Brian Rak wrote: I just ran into an issue where I had about 30 guests get duplicate mac addresses assigned. These were scattered across 30 different machines. Some debugging

Re: [libvirt-users] virRandomBits - not very random

2014-11-04 Thread Daniel P. Berrange
On Mon, Nov 03, 2014 at 11:09:12AM -0500, Brian Rak wrote: > I just ran into an issue where I had about 30 guests get duplicate mac > addresses assigned. These were scattered across 30 different machines. > > Some debugging revealed that: > > 1) All the host machines were restarted within a coup

[libvirt-users] virRandomBits - not very random

2014-11-03 Thread Brian Rak
I just ran into an issue where I had about 30 guests get duplicate mac addresses assigned. These were scattered across 30 different machines. Some debugging revealed that: 1) All the host machines were restarted within a couple seconds of each other 2) All the host machines had fairly similar