Public bug reported:

The python-dnspython package (most specifically, dns/resolver.py at line
25-29) uses /dev/random to get random data. I observed that this blocks
on /some/ machines that have Ubuntu 10.04 installed. It does not seem to
happen on older versions. This causes the import of dns.entropy to block
most of the time (but not always).

The solution is to use /dev/urandom instead. Two possible ways to solve this 
problem:
1. Provide a 1.8.0 package in the main repositories - it seems to have the bug 
fixed and is a maintenance release according to the homepage
2. replace '/dev/random' with '/dev/urandom' in entropy.py, line 25. I tested 
this solution and it no longer causes the import to block.

** Affects: dnspython (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dnspython-1.7* uses /dev/random which might block on lucid
https://bugs.launchpad.net/bugs/607117
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to