[issue32580] Fallback to dev_urandom doesn't work when py_getrandom returns -1

Jernej Simončič report at bugs.python.org
Wed Jan 17 15:52:11 EST 2018


Jernej Simončič <jernej+s-python at eternallybored.org> added the comment:

Qnap is a NAS, and while I'm running Gentoo inside LXC, EFAULT is returned by getrandom syscall even in the host OS. The model I'm doing this on is TS-228, uname -a of the host OS reports:

Linux qnap 3.10.20-al-2.5.3 #67 SMP PREEMPT Sat Dec 30 04:29:34 CST 2017 armv7l unknown

This is with the latest firmware installed as of this writing - 4.3.4.0435 (30.12.2017).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32580>
_______________________________________


More information about the Python-bugs-list mailing list