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: olafBuddenhagen
Subject: Re: python 2.4: os.urandom() hangs if /dev/random, /dev/urandom are not reconnected to a translator
Date: Sun, 28 Jan 2007 11:24:56 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Hi,

On Sat, Jan 27, 2007 at 06:16:22PM +0000, massimo s. wrote:
> address@hidden 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".

You can check this using showtrans for passive translators, and fsysopts
for active ones. Only if both are gone, you can really know how Python
will react in absence of any translator...

-antrik-




reply via email to

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