Summary: | sys-apps/rng-tools: rngd does not use hw random with udev-141 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Bartoszkiewicz <mbartoszkiewicz> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nelchael, reiver |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Bartoszkiewicz
2009-07-07 19:57:51 UTC
------------------------------------------------------------------------------ Check /dev/hwrng, see bug #276973. (Portage version: 2.1.6.13/cvs/Linux x86_64) ------------------------------------------------------------------------------ same issue here, pls correct init-scripts of rngd, or fix udevd with proper string Rather than checking different instances, the init-script of rng-tools should allow the user to configure a rng-device thru the conf.d/rngd file. minimalistic diff by hand, atm no time to do diffs /etc/conf.d/rngd: +# rng-device, usually /dev/hwrandom, /dev/hw_random, /dev/hwrng +#RNG_DEVICE=/dev/hwrng /etc/init.d/rngd: ebegin "Starting hardware RNG daemon" + if [ -e ${RNG_DEVICE} ]; then + start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -s ${STEP-64} -t ${TIMEOUT-60} -b -r ${RNG_DEVICE} + eend $? "Failed to start hardware RNG daemon" - if [ -e /dev/hw_random ]; then + elif [ -e /dev/hw_random ]; then start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -${STEP-64} -t ${TIMEOUT-60} -b -r /dev/hw_random Where is this fixed? Pls reopen. I encountered this problem too. It looks like the rngd init script was updated with /dev/hwrng but the package version was not incremented. The Gentoo devs still need to increment the version with "-r1" so people know to update. Should be bumped now. Will refactor later. |