aboutsummaryrefslogtreecommitdiff
path: root/conf.d/urandom
AgeCommit message (Collapse)Author
2022-03-30add seedrng service for LinuxWilliam Hubbs
This moves urandom to *bsd only and adds seedrng as a separate service for Linux. This fixes #510
2022-03-26Use seedrng for seeding the random number generatorJason A. Donenfeld
The RNG can't actually be seeded from a shell script, due to the reliance on ioctls. For this reason, the seedrng project provides a basic script meant to be copy and pasted into projects like OpenRC and tweaked as needed: https://git.zx2c4.com/seedrng/about/ This commit imports it into OpenRC and wires up /etc/init.d/urandom to call it. It shouldn't be called by other things on the system, so it lives in rc_sbindir. Closes #506. Closes #507. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2011-11-26urandom: move seed from /var/run to /var/libMike Frysinger
We want the seed to be preserved across reboots, so move it to /var/lib. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-03-05Add tunable SYSCONFDIRRoy Marples
2007-11-23Move /etc/conf.d/rc to /etc/rc.conf.Roy Marples
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
2007-07-04Allow syncing of hwlock for BSD and make our config files look fairly similar.Roy Marples
2007-06-22Allow urandom location to be customized #134489.Mike Frysinger