Bug 11853

Summary: rngd doesn't start on IPFire Duo Box on i586
Product: IPFire Reporter: Michael Tremer <michael.tremer>
Component: ---Assignee: Michael Tremer <michael.tremer>
Status: CLOSED FIXED QA Contact:
Severity: Crash    
Priority: Will only affect a few users CC: klein-brhv
Version: 2   
Hardware: unspecified   
OS: Unspecified   
See Also: https://github.com/nhorman/rng-tools/pull/31
Attachments: Screenshot of Entropie In Ipfire Duo V1.1
Output rngd -V and -l

Description Michael Tremer 2018-09-07 13:10:41 UTC
RDRAND isn't listed as a source and therefore rngd doesn't start.
Comment 1 Michael Klein 2018-09-07 13:38:29 UTC
Created attachment 621 [details]
Screenshot of Entropie In Ipfire Duo V1.1
Comment 2 Michael Klein 2018-09-07 13:43:42 UTC
Created attachment 622 [details]
Output rngd -V and -l

The output of rngd -V and rngd -l.
Comment 3 Michael Tremer 2018-09-09 16:42:22 UTC
The configure script of rng-tools checks the following:

> AM_CONDITIONAL([RDRAND], [test $target_cpu = x86_64 -o $target_cpu = i686])
> AS_IF([test $target_cpu = x86_64 -o $target_cpu = i686], [AC_DEFINE([HAVE_RDRAND],1,[Enable RDRAND])],[])

Since we are i586, support for RDRAND is disabled.

I will send a patch shortly.
Comment 4 Michael Tremer 2018-09-10 00:19:32 UTC
https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=fd0a0384f07b399e9cb4cf46b4c5722b809ffe6a

This was a problem in rng-tools.
Comment 5 Michael Tremer 2018-09-10 15:27:24 UTC
Unfortunately the maintainer of rng-tools has rejected the patch because he does not understand that i586 is compatible with modern processors.

That means that we will have to carry this patch ourselves.