Could you be more specific as to what exactly is happening plus exact steps to reproduce it along with the version of python and host system (linux distribution)?
I just built python3x and was able to run on firecracker 0.20.0: OSv v0.54.0-105-gaf96566e Booted up in 41.05 ms Cmdline: /python3 Python 3.7.5 (default, Nov 20 2019, 09:21:52) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Waldek On Friday, January 31, 2020 at 5:34:58 PM UTC-5, Henrique Fingler wrote: > > Hey everyone, > > I'm getting this weird error that wasn't happening a few weeks before and > I'm confused on how to approach this. > Did anything change related to randomness lately? Could it be something > related to my host? > I'm under Firecracker and latest version of OSv. > > Only thing I could find is this (from here > <https://www.mail-archive.com/[email protected]/msg294967.html> > ): > > When the Python/random.c file was written (by me), the getentropy() function > was only supported on OpenBSD. Later, random.c was modified to *not* use > getentropy() on Solaris (Issue #25003). > > The problem is that py_getentropy() doesn't handle ENOSYS, and so Python > fails > at startup with a fatal error (Python 3.6): > Fatal Python error: failed to get random numbers to initialize Python > or (Python 3.5): > Fatal Python error: getentropy() failed > > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/3f21e686-c1cd-4725-b9b7-178f35cb2e2f%40googlegroups.com.
