Message265427
| Author | Colm Buckley |
|---|---|
| Recipients | Colm Buckley, doko, lemburg, matejcik, rhettinger, skrah, socketpair, thomas-petazzoni, vstinner |
| Date | 2016-05-12.21:18:22 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1463087902.48.0.220761536264.issue26839@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |