A partial workaround for this is to set PYTHONHASHSEED in the
environment of the cloud-init systemd units, which means that Python
won't block at _startup_ for randomness.

Unfortunately, importing the "random" module (which, e.g., the tempfile
module does) still seems to cause some sort of hang.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584147

Title:
  cloud-init hangs on boot as Python waits for sufficient randomness to
  start

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1584147/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to