Date: Thu, 5 Feb 2004 14:02:27 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no> Cc: freebsd-geom@freebsd.org Subject: Re: rc.d/gbde_swap problem Message-ID: <20040205220227.GA4895@Odin.AC.HMC.Edu> In-Reply-To: <xzpu125nr15.fsf@dwp.des.no> References: <20040205005240.GA31747@Odin.AC.HMC.Edu> <xzpu125nr15.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--huq684BweRXVnRxX Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 05, 2004 at 10:40:54PM +0100, Dag-Erling Sm=F8rgrav wrote: > Brooks Davis <brooks@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. >=20 > 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 --=20 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 --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAIr1wXY6L6fI4GtQRArNVAJ0fXo9bU8eydUolJyICS0/MM72sVQCfe+Zn MJbwLNAh+Cwi70aSTK0WsLo= =t5ch -----END PGP SIGNATURE----- --huq684BweRXVnRxX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205220227.GA4895>