[src] cvs commit: src/etc/rc.d preseedrandom

Brooks Davis brooks at one-eyed-alien.net
Mon Jun 7 18:22:24 GMT 2004


On Mon, Jun 07, 2004 at 09:16:30AM +0000, David E. O'Brien wrote:
> obrien      2004-06-07 09:16:19 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/rc.d             preseedrandom 
>   Log:
>   Don't assume everyone's /etc/[default/]rc.conf 'entropy_file' is "/entropy".

This was deliberate.  The preseedrandom script only exists to get
enough entropy into the system to get initdiskless off the ground.
Real entropy seeding takes place in initrandom.  You must not assume
rc.conf exists when preseedrandom is called!  The only things you get to
assume are a / as populated by installworld and an /etc as populated by
make distribute.  At that /etc/rc.conf may not exist since it could be
created by initdiskless.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040607/f348e13f/attachment.bin


More information about the cvs-src mailing list