a change between r1 nad r3 is wrong - the string "find_rng_device" should be replaced by "find_device"
The reporter told us on IRC he experienced the output: > /etc/init.d/rngd: line 28: find_rng_device: command not found > * Starting rngd ... > /usr/sbin/rngd: option '--rng-device' requires an argument > Try `rngd --help' or `rngd --usage' for more information.
Uhm let me fix this. It worked here because I guess there's nothing to be found anyway (rdrand in use).
Thanks for reporting, now it should work. And indeed it worked fine for both TPM and RDRAND cases — which is all I had at hand.
(In reply to comment #3) > Thanks for reporting, now it should work. > > And indeed it worked fine for both TPM and RDRAND cases — which is all I had > at hand. FWIW I catched this bug within a running user mode linux image (unstable Gentoo) - at the stable Gentoo host system I just got (w/ DO_NOT_REMIX_URANDOM=1) : # /etc/init.d/rngd start * Caching service dependencies ... [ ok ] * Starting rngd ... can't open any entropy source Maybe RNG device modules are not loaded * start-stop-daemon: failed to start `/usr/sbin/rngd' * Failed to start rngd [ !! ] * ERROR: rngd failed to start