Re: [DNG] How to fix rng-tools hang

2019-10-29 Thread Dimitris via Dng
On 10/28/19 5:24 AM, s@po wrote:
> Does anyone knows how to surpass this?

probably install haveged in systems without hwrng.

other suggestion would be to use `HRNGDEVICE=/dev/urandom` in
/etc/default/rng-tools, but that should be avoided for crypto entropy, iirc.



signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] How to fix rng-tools hang

2019-10-28 Thread s
Hello All,

> Hello all,
> I got a strange message from serial console, debugging a image that I am 
> building..
> The system hangs on startup..
> 
> [ ok ] Starting enhanced syslogd: rsyslogd.
> Starting Hardware RNG entropy gatherer daemon: (Hardware RNG device inode not 
> found)
> /etc/init.d/rng-tools: Cannot find a hardware RNG device to use.
> [ ok ] Starting system message bus: dbus.
> [FAIL] startpar: service(s) returned failure: rng-tools ... failed!
> 
> 

Just to clarify,
Recent kernels use a Hardware RNG.. so in systems that doesn't have one, you 
need a Kconfig opion
RANDOM_TRUST_CPU

Best Regards,
-- 
tux 
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng