Message265427
It's worth noting that this issue now affects every installation of Debian testing track with systemd and systemd-cron installed; the python program /lib/systemd/system-generators/systemd-crontab-generator is called very early in the boot process; it imports hashlib (although only .md5() is used) and blocks on getrandom(), delaying boot time until a 90s timeout has occurred.
Suggestions: modify hashlib to avoid calling getrandom() until entropy is actually required, rather than on import; change the logic to use /dev/urandom (or an in-process PRNG) when getrandom() blocks; or both. |
|
Date |
User |
Action |
Args |
2016-05-12 21:18:22 | Colm Buckley | set | recipients:
+ Colm Buckley, lemburg, rhettinger, doko, vstinner, matejcik, skrah, socketpair, thomas-petazzoni |
2016-05-12 21:18:22 | Colm Buckley | set | messageid: <1463087902.48.0.220761536264.issue26839@psf.upfronthosting.co.za> |
2016-05-12 21:18:22 | Colm Buckley | link | issue26839 messages |
2016-05-12 21:18:22 | Colm Buckley | create | |
|