On 5 January 2017 at 03:42, Lukas Slebodnik <lsleb...@fedoraproject.org> wrote:
>> It is not just about python3.6 but I can also see something similar with old
>> kernel and python35 in latest rawhide userspace
>> https://bugzilla.redhat.com/show_bug.cgi?id=1410187
> BTW the explanation is that the latest update of glibc in rawhide provides 
> functions getentropy and getrandom

And Victor Stinner further diagnosed that as a combined bug in
CPython's conditional compilation logic where:

- getentropy was preferred over getrandom when both were available
- only the getrandom code had the ENOSYS handling needed to cope with
newer binaries running on older kernels

http://bugs.python.org/issue29157 has a patch to change the logic so
that getrandom is preferred over getentropy when both are available,
and also to add the ENOSYS handling that getrandom already has to
getentropy.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Reply via email to