Re: How to avoid long startup delay waiting for /dev/random?

Grant Edwards <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 2020-12-15, Paul Herring <[email protected]> wrote:
> On Tue, Dec 15, 2020 at 5:22 PM Grant Edwards <[email protected]>
> wrote:
>
>> After upgrading a small embedded system's net-snmp from 5.7.3 to 5.8,
>> snmpd now takes a _long_ time to start up. Snmpd used to start
>> "instantly", but now it blocks on /dev/random for as long as 3-5
>> minutes. This holds up my entire system startup unacceptably.
>>
>> Is there any way to avoid this disruptive behavior?
>
> We had a similar problem with docker pausing for 2×60s on startup
> waiting for /dev/random to fill up (openssl was suspect.)
>
> We used rngd ot mitigate it. https://wiki.archlinux.org/index.php/Rng-tools
>
> Whether you have sufficient space for it, may be another matter...

I might have enough memory for it, but I'm not aware of any other
sources of entropy for rngd to harvest.  I've I had known about this
when the hardware was designed 10-12 years ago, I would have had the
HW guys hook up a zener doide to an A/D input or something...

--
Grant





_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.