tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: /dev/random issue
On Thu, Oct 01, 2020 at 09:39:18AM -0700, Paul Goyette wrote:
> <snip>
>
> > > On another machine with working random number generator (nearly all modernish
> > > amd64 machines have that) do:
> > >
> > > dd if=/dev/random of=/tmp/file bs=32 count=1
> > >
> > > then scp the file over and dd it into /dev/random:
> > >
> > > dd if=/tmp/file of=/dev/random bs=32 count=1
> > >
> > > This will be preserved accross reboots, so it is a one-time only fix.
> >
> > OK. But how is it preserved across reboot ? Where does the kernel stores it ?
>
> Shutdown process will store a new seed file
ha OK, so it's preserved on shutdown(8), not reboot(2)
which, basically. means that one should not use reboot, halt or poweroff
any more ...
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index