Bug#603744: pbuilder: hangs while reading /dev/urandom
Matthew Palmer
mpalmer at debian.org
Sun Dec 12 03:32:05 UTC 2010
tag 603744 +moreinfo
thanks
Hi Piotr,
I'm having trouble reproducing this bug. I initially tried using my
existing sid chroot (originally built who-knows-when and updated regularly),
but when that worked fine I also created a new chroot (pbuilder --build
--distribution sid --mirror http://localhost:9999/debian --basetgz
~/chroots/newsid.tgz), and then:
1) pbuilder --login --basetgz ~/chroots/newsid.tgz
2) apt-get install python2.6
3) python2.6 -c 'import random; print random.Random()'
I would expect, based on your bug report, for this command to hang; instead
it prints "random.Random object at 0xdeadbeef>" -- which sounds like it's
working properly to me.
I don't have /dev bindmounted, according to "grep PID /proc/mounts" (only
/dev/pts and /proc), and the device number of my /dev/random is 1,8 and my
/dev/urandom is 1,9.
Can you see anything in my attempt to reproduce the problem that don't match
your experience, or is your chroot different to mine in some relevant way?
If you're using a rather old chroot, could you try making a new one and see
if the problem still exists? It's the only remaining thing that seems like
a possibility to me.
Thanks,
- Matt
More information about the Pbuilder-maint
mailing list