Date: Sat, 31 Jul 2004 22:27:17 -0400 From: Garance A Drosihn <drosih@rpi.edu> To: freebsd-arch@freebsd.org Subject: Re: Random-ness when booting into single-user Message-ID: <p06110428bd3203fb6917@[128.113.24.47]> In-Reply-To: <p06110427bd31ff023e9a@[128.113.24.47]> References: <p06110426bd31f528ef8d@[128.113.24.47]> <20040801014756.GA9457@troutmask.apl.washington.edu> <p06110427bd31ff023e9a@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
At 10:02 PM -0400 7/31/04, Garance A Drosihn wrote: >At 6:47 PM -0700 7/31/04, Steve Kargl wrote: >>On Sat, Jul 31, 2004 at 09:37:15PM -0400, Garance A Drosihn wrote: >>> >>> Happily I have not run into this, and I think I would like to >>> make sure that I don't run into it -- even though I obviously >>> don't remember any of the details... >> >>http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/random/randomdev.c Which had the companion change at: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/random/randomdev_soft.c This suggests another tactic. randomdev_soft.c could go back to having random.sys.seeded default to 0, and maybe init.c could change it to 1 (if it is 0) before dropping into single-user mode, and then change it back (if it had been 0) before coming up in multi-user mode. [assuming that can be done] That way we wouldn't have to change anything in /etc/rc.d, and we have something safer than my previous suggestion. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06110428bd3203fb6917>