bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: python 2.4: os.urandom() hangs if /dev/random, /dev/urandom are not


From: massimo s.
Subject: Re: python 2.4: os.urandom() hangs if /dev/random, /dev/urandom are not reconnected to a translator
Date: Sun, 28 Jan 2007 20:56:03 +0000
User-agent: Mozilla Thunderbird 1.5.0.9 (X11/20070123)

olafBuddenhagen@gmx.net ha scritto:
> Hi,
> 
> On Sat, Jan 27, 2007 at 06:16:22PM +0000, massimo s. wrote:
>> olafBuddenhagen@gmx.net ha scritto:
> 
>>> Does it also hang if you don't have a translator there at all?
>> If I settrans -fg /dev/urandom yes, it hangs.
> 
> settrans -fg only removes the active translator, but the passive one is
> still there, so it will get restarted immediately on next access to the
> file. To really remove it, you need to do "settrans -fgap".

Thanks for the tip (I'm a n00b at Hurd). Anyway I now tested with -fgap,
and yes, os.urandom() hangs.

m.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]