This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Colm Buckley
Recipients Colm Buckley, Lukasa, Theodore Tso, alex, doko, dstufft, larry, lemburg, martin.panter, matejcik, ned.deily, pitti, python-dev, rhettinger, skrah, thomas-petazzoni, vstinner, ztane
Date 2016-06-08.20:41:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465418506.24.0.409081713338.issue26839@psf.upfronthosting.co.za>
In-reply-to
Content
@pitti -

We already discussed this; there are cases where it's not practical to set an environment variable. The discussion eventually converged on "it is not desirable that Python should block on startup, regardless of system RNG status".

Re: the triggering bug; it was actually /lib/systemd/system-generators/systemd-crontab-generator (in systemd-cron) which caused the behavior to be noticed in Debian. It wasn't a change in systemd behavior, per se (that has been a Python script for some time), it was the fact that it was being called before the system PRNG had been initialized. With the change from /dev/urandom to getrandom() in 3.5.1, this caused a deadlock at boot.
History
Date User Action Args
2016-06-08 20:41:46Colm Buckleysetrecipients: + Colm Buckley, lemburg, rhettinger, doko, vstinner, larry, matejcik, ned.deily, alex, skrah, python-dev, martin.panter, ztane, dstufft, pitti, Lukasa, thomas-petazzoni, Theodore Tso
2016-06-08 20:41:46Colm Buckleysetmessageid: <1465418506.24.0.409081713338.issue26839@psf.upfronthosting.co.za>
2016-06-08 20:41:46Colm Buckleylinkissue26839 messages
2016-06-08 20:41:46Colm Buckleycreate