From 27a803d631193a49a09c117d72371fca3bf4869c Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Thu, 11 Jan 2001 13:01:20 +0000 Subject: Add a system to save entropy from /dev/random periodically so that it can be used to reseed at boot time. This will greatly increase the chances that there will be sufficient entropy available at boot time to prevent long delays. For /etc/rc, remove the vmstat and iostat runs from the attempt to provide some cheesy randomness if the files fail, since those programs are dynamically linked, and ldd seems to want some randomness to do its magic. Guidance and parameters for this project were provided by Mark Murray, based on the requirements of the Yarrow algorithm. Some helpful suggestions for implementation (including the tip about iostat and vmstat) were provided by Sheldon Hearn. All blame for problems or mistakes is mine of course. --- etc/crontab | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/crontab') diff --git a/etc/crontab b/etc/crontab index 784980c48d63..1f0950efcbbc 100644 --- a/etc/crontab +++ b/etc/crontab @@ -8,6 +8,9 @@ HOME=/var/log # #minute hour mday month wday who command # +# save some entropy so that /dev/random can reseed on boot +*/3 * * * * operator /usr/libexec/save-entropy +# */5 * * * * root /usr/libexec/atrun # # rotate log files every hour, if necessary -- cgit v1.3