From owner-freebsd-arch Wed Jan 10 0:50:47 2001 Delivered-To: freebsd-arch@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 57F7A37B401; Wed, 10 Jan 2001 00:50:27 -0800 (PST) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 14GGxc-0004A7-00; Wed, 10 Jan 2001 10:50:24 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id KAA08451; Wed, 10 Jan 2001 10:50:23 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 8232; Wed Jan 10 10:49:25 2001 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.20 #1) id 14GGwf-000IZu-00; Wed, 10 Jan 2001 10:49:25 +0200 From: Sheldon Hearn To: Dan Moschuk Cc: freebsd-arch@freebsd.org Subject: Re: Keeping an /entropy file In-reply-to: Your message of "Tue, 09 Jan 2001 15:45:49 EST." <20010109154549.A2618@spirit.jaded.net> Date: Wed, 10 Jan 2001 10:49:25 +0200 Message-ID: <71417.979116565@axl.fw.uunet.co.za> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 09 Jan 2001 15:45:49 EST, Dan Moschuk wrote: > | > Without too big of a bikeshed, what does everyone think of either > | > adding a system crontab or modifying the random device itself to generate > | > /entropy at a specified interval? > | > | It should use the value of ${entropy_file} from /etc{,/defaults}/rc.conf. > > Which eliminates modifying the random device. /etc/crontab, then? Assuming Mark doesn't have any better ideas about how to do this, just make sure that the script called from the crontab uses rc.source_conf to get the value of ${entropy_file} . I'm not convinced that the random device isn't the best candidate for the job, though. What about using a writable sysctl to specify to the random device the location of the entropy file? The value of the sysctl could be set early in rc . Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message