Reported upstream: http://sourceforge.net/tracker/?func=detail&aid=3561711&group_id=3242&atid=103242 rng-tools-4 using Ivy Bridge (i3770) DRNG on Gentoo Linux, kernel gentoo-sources-3.5.2 - rngd running as daemon 1) killall rngd - rngd still running 2) cat /dev/random > /dev/null - rngd not running rngd running in the foreground will stop immediately on SIGTERM and can stop rngd daemon immediately with: killall -s SIGALRM rngd Workedaround for me by changing stop() line in init script to: start-stop-daemon --signal ALRM --pidfile /var/run/rngd.pid
At a ThinkPad T420 (i5) rng-4-r1 fails to stop now too (unstable Gentoo user-mode-linux-image) : * Stopping hardware RNG daemon ... * start-stop-daemon: 1 process refused to stop [ !! ] * ERROR: rngd failed to stop
FWIW this helped : start() { checkpath --directory /var/run/apache_ssl_mutex <------- checkconfig || return 1
Confirmed here — got a fix for the init script as well.
And this is fixed in 4-r2. Thanks!