From ed0bc299d087ff5da618344681310644e7401700 Mon Sep 17 00:00:00 2001 From: dougb 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/defaults/rc.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/defaults/rc.conf') diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index b761564..7e3d276 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -324,6 +324,9 @@ start_vinum="" # set to YES to start vinum unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). entropy_file="/entropy" # Set to NO to disable caching entropy through reboots. # /var/db/entropy is preferred if / is not available. +entropy_dir="/.entropy" # Set to NO to disable caching entropy via cron. +entropy_save_sz="2048" # Size of the entropy cache files. +entropy_save_num="8" # Number of entropy cache files to save. ############################################################## ### Define source_rc_confs, the mechanism used by /etc/rc.* ## -- cgit v1.1