This is needed on systems used to build kernels that use module signing because the kernel build creates a new GPG key each time, and requires random data to do it. If it can't get sufficient the random data immediately, it will just stall until it can.

Not only that, but list_add() isn't declared in a header file, so though this warning occurs:
rngd_entsource.c: In function ‘init_entropy_source’:
rngd_entsource.c:173: warning: implicit declaration of function ‘list_add’
the compiler doesn't notice the fact that list_add() isn't being called correctly.

Created attachment 417633[details]
Fix compile warnings and SEGV in rngd
This patch fixes various compile time warnings in rngd, and thus fixes the SEGV. I recommend that the %configure line in the specfile be changed as follows:
CFLAGS="$RPM_OPT_FLAGS -Werror" %configure
However, this doesn't make the program actually work. It just sits there sucking data continuously from /dev/urandom, but doesn't actually add anything to the /dev/random pool.

Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note

You need to
log in
before you can comment on or make changes to this bug.