summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2001-01-14 07:18:31 +0000
committerdougb <dougb@FreeBSD.org>2001-01-14 07:18:31 +0000
commit3bbfa62b632ebcb309e75f8212f4e3b53797cadf (patch)
tree9ecc11560468f3c002fda7f43b66439a52c6bb8a /etc/defaults
parent41bf790205da9df94e6c6fe700cefca81250363d (diff)
downloadFreeBSD-src-3bbfa62b632ebcb309e75f8212f4e3b53797cadf.zip
FreeBSD-src-3bbfa62b632ebcb309e75f8212f4e3b53797cadf.tar.gz
Move the process of storing entropy from /dev/random and reseeding with
it at boot time closer to the way we want it to be in the final version. * Move the default directory to /var/db/entropy * Run the entropy saving cron job every 11 minutes. This seems to be a better default, although still bikeshed material. * Feed /dev/random some cheesy "entropy" from various commands and files before the disks are mounted. This gives /dev/random a better chance of running without blocking early. * Move the reseeding with previously stored entropy to the point immediately after the disks are mounted. * Make the harvesting script a little safer in regards to the possibility of accidentally overwriting something other than a regular file.
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 7e3d276..79d52ce 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -324,7 +324,7 @@ 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_dir="/var/db/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.
OpenPOWER on IntegriCloud