Re: "random device not loaded; using insecure entropy" during boot

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 17 May 2012 23:38:23 +0300
on 14/05/2012 21:17 Bruce Cran said the following:
> While booting -current I noticed a new warning introduced in r230230**
> <http://svnweb.freebsd.org/base?view=revision&revision=230230> (though it's not
> in 'dmesg' once booted):
> 
> FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID: 1
>  cpu2 (AP): APIC ID: 4
>  cpu3 (AP): APIC ID: 5
> random device not loaded; using insecure entropy
> 
> I guess something's wanting random data before its been initialized?   Once
> booted kern.random shows that it is loaded and working.

It seems that the message is triggered by __stack_chk_init.  I am not sure if we
really need a "secure" random value there.

-- 
Andriy Gapon
Received on Thu May 17 2012 - 18:38:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC