Author ncoghlan
Recipients christian.heimes, martin.panter, ncoghlan, python-dev, vstinner
Date 2016-09-14.06:40:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473835251.21.0.128035164253.issue27778@psf.upfronthosting.co.za>
In-reply-to
Content
Right, the only missing piece now is documentation of the ENOSYS case, which end users may encounter if a Python 3.6 binary that supports os.getrandom() is run against an older kernel.

That's pretty easy to trigger via containers, as getrandom() was added in Linux 3.17 and hasn't generally been backported to LTS distribution kernels.

Debian 8: based on 3.16
Ubuntu 14.04: 3.13 default, 4.4 (from 16.04) available as of 14.04.5
RHEL/CentOS 7: based on 3.10
RHEL/CentOS 6: based on 2.6

So of those potential LTS container hosts, a recent Ubuntu or Fedora container running Python 3.6 will currently get ENOSYS for everything except a fresh Ubuntu 14.04 install that uses the Ubuntu 16.04 kernel.
History
Date User Action Args
2016-09-14 06:40:51ncoghlansetrecipients: + ncoghlan, vstinner, christian.heimes, python-dev, martin.panter
2016-09-14 06:40:51ncoghlansetmessageid: <1473835251.21.0.128035164253.issue27778@psf.upfronthosting.co.za>
2016-09-14 06:40:51ncoghlanlinkissue27778 messages
2016-09-14 06:40:51ncoghlancreate