Jernej Simončič 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
Jernej Simončič added the comment:
OK, looks like Qnap is doing something weird there - calls to getrandom result
in EFAULT, which results in . PHP had the same problem:
https://bugs.php.net/bug.php?id=75409
Changing "if (errno == ENOSYS || errno == EPERM) {" to "if (
New submission from Jernej Simončič :
I'm playing with Gentoo in LXC running on ARM-based QNAP NAS, and when trying
to compile Python 3.5.4, the build failed with "Fatal Python error: failed to
get random numbers to initialize Python" (full details at
https://forums.gentoo.