Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447464 - sys-apps/rng-tools-4-r3 - find_rng_device should be find_device in init.d file
Summary: sys-apps/rng-tools-4-r3 - find_rng_device should be find_device in init.d file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 14:00 UTC by Toralf Förster
Modified: 2013-05-04 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2012-12-16 14:00:32 UTC
a change between r1 nad r3 is wrong - the string "find_rng_device" should be replaced by "find_device"
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-12-16 14:04:12 UTC
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.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-16 14:32:17 UTC
Uhm let me fix this. It worked here because I guess there's nothing to be found anyway (rdrand in use).
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-12-16 14:38:04 UTC
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.
Comment 4 Toralf Förster gentoo-dev 2012-12-16 15:32:12 UTC
(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