Re:Fixing Getrandom()
by bonzini on Tuesday October 01, 2019 @03:43PM
(#21129716)
This is happening so early that audio and network (and /var where the persistent seed is stored) aren't up. The kernel doesn't want to be susceptible to hangs unless userspace brings up all entropy sources early enough.
[ Parent
| on HN ]
This is about GDM, which is the last thing that gets started.
Hardware devices are initialized before init is started, so you should still be able to gather entropy from the various input devices.
Lack of entropy can't cause the kernel to not boot; it's just userspace (typically services which require encryption) which can have a problem. It would be silly to start a webserver or sshd before the FS is remounted rw.
Not if you use modules.
Can you elaborate on what you mean?
Init is executed before modules start being loaded.