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

2018-06-01 Thread Martin Kletzander
On Fri, Jun 01, 2018 at 01:25:26PM +0100, Daniel P. Berrangé wrote: On Fri, Jun 01, 2018 at 02:01:03PM +0200, Martin Kletzander wrote: On Fri, Jun 01, 2018 at 11:17:44AM +0100, Daniel P. Berrangé wrote: > On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: > > On Tue, May 29, 2018

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

2018-06-01 Thread Daniel P . Berrangé
On Fri, Jun 01, 2018 at 02:01:03PM +0200, Martin Kletzander wrote: > On Fri, Jun 01, 2018 at 11:17:44AM +0100, Daniel P. Berrangé wrote: > > On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: > > > On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: > > > > > > > > > > > >

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

2018-06-01 Thread Martin Kletzander
On Fri, Jun 01, 2018 at 11:17:44AM +0100, Daniel P. Berrangé wrote: On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: > > > On 05/29/2018 09:44 AM, Michal Privoznik wrote: > > On 05/29/2018 03:38 PM, Martin Kletzander

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

2018-06-01 Thread Daniel P . Berrangé
On Wed, May 30, 2018 at 10:21:54PM +0200, Martin Kletzander wrote: > On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: > > > > > > On 05/29/2018 09:44 AM, Michal Privoznik wrote: > > > On 05/29/2018 03:38 PM, Martin Kletzander wrote: > > > > On Fri, May 25, 2018 at 09:37:44AM -0500, Er

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

2018-05-30 Thread Martin Kletzander
On Tue, May 29, 2018 at 10:06:25AM -0400, John Ferlan wrote: On 05/29/2018 09:44 AM, Michal Privoznik wrote: On 05/29/2018 03:38 PM, Martin Kletzander wrote: On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: On 05/25/2018 09:17 AM, Michal Privoznik wrote: We should probably seed

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

2018-05-29 Thread John Ferlan
On 05/29/2018 09:44 AM, Michal Privoznik wrote: > On 05/29/2018 03:38 PM, Martin Kletzander wrote: >> On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: >>> On 05/25/2018 09:17 AM, Michal Privoznik wrote: >>> >> We should probably seed it with data from /dev/urandom, and/or the new

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

2018-05-29 Thread Michal Privoznik
On 05/29/2018 03:38 PM, Martin Kletzander wrote: > On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: >> 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). >>>

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

2018-05-29 Thread Martin Kletzander
On Fri, May 25, 2018 at 09:37:44AM -0500, Eric Blake wrote: 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 enou

Re: [libvirt] [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] [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] [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] [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