> Ok peeps, here an interesting one. It's got me stumped.
> I have a passwd program which access /dev/random before it changes a
> users password. Thing is hangs for no reason before completing.
>
> Running strace passwd tells me that when it tries to read from
> /dev/random it just hangs.
Because /dev/random is a blocking device. It will block intill it has
enought entropy before it will continue.
Use /dev/urandom if you want the non-blocking (less ramdom) version.
>
> Has anyone seen this before???
>
> I'm trying to upgrade my kernel to see if that fixes it but seeing as
> it's stable as it is now and is a live mission critical server, I'm
> a little reluctant to do this. Therefore i was after an alternative
> fix. But I will rebuild the kernel if that's what it takes.
>
> Help!?
>
> Jamie Carl
> [EMAIL PROTECTED]
> Technical Consultant
> Pearson Computer Systems Pty. Ltd.
>
Igmar
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.