Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 23:38:23 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        freebsd-current <freebsd-current@FreeBSD.org>
Subject:   Re: "random device not loaded; using insecure entropy" during boot
Message-ID:  <4FB561BF.2090404@FreeBSD.org>
In-Reply-To: <4FB14C48.1030002@cran.org.uk>
References:  <4FB14C48.1030002@cran.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FB561BF.2090404>