rc.d/gbde_swap problem

Brooks Davis brooks at one-eyed-alien.net
Thu Feb 5 14:02:42 PST 2004


On Thu, Feb 05, 2004 at 10:40:54PM +0100, Dag-Erling Smørgrav wrote:
> Brooks Davis <brooks at one-eyed-alien.net> writes:
> > I'm doing to backing on the rc.d scripts to try and cleanup diskless
> > booting and I noticed a problem with gbde_swap.  It has a dependency on
> > random which depends on mountcritlocal which depends on disks which
> > gbde_swap provides thus creating a circular dependency.  I think
> > gbde_swap it too early do depend on random and should instead depend on
> > initrandom.  Users who need high-quality saved entropy this early will
> > just have to be sure they set entropy_file to a location that is
> > reachable early in the process so initrandom can use it.
> 
> fixed, thanks.

Thanks.  It did occure to me last night that we do have another decent
source of entropy at this point: the geom swap partitions themselves.
If we just dd'd a small portion of the disk after an appropriate offset
to avoid any metadata (is there any, I can't remember), we'd at least
have something no worse then the ps, etc output we use as a default.

-- 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/freebsd-geom/attachments/20040205/bfe437d5/attachment.bin


More information about the freebsd-geom mailing list