From owner-cvs-all Sat Jan 13 23:18:53 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3F24237B401; Sat, 13 Jan 2001 23:18:32 -0800 (PST) Received: (from dougb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0E7IWR21377; Sat, 13 Jan 2001 23:18:32 -0800 (PST) (envelope-from dougb) Message-Id: <200101140718.f0E7IWR21377@freefall.freebsd.org> From: Doug Barton Date: Sat, 13 Jan 2001 23:18:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc crontab rc src/etc/defaults rc.conf src/etc/mtree BSD.root.dist BSD.var.dist src/libexec/save-entropy save-entropy.sh X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dougb 2001/01/13 23:18:32 PST Modified files: etc crontab rc etc/defaults rc.conf etc/mtree BSD.root.dist BSD.var.dist libexec/save-entropy save-entropy.sh Log: 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. Revision Changes Path 1.29 +4 -4 src/etc/crontab 1.248 +34 -55 src/etc/rc 1.85 +2 -2 src/etc/defaults/rc.conf 1.49 +0 -4 src/etc/mtree/BSD.root.dist 1.44 +5 -1 src/etc/mtree/BSD.var.dist 1.2 +21 -11 src/libexec/save-entropy/save-entropy.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message