On Mon, 26 Sep 2005, Jeff Dike wrote:
> On Mon, Sep 26, 2005 at 05:24:30PM -0700, Robin Lee Powell wrote:
> > However, as soon as I run sshd by any means, the guest hangs.  I
> > have no idea what to do about this.  Help?
> 
> If not, then it might be an entropy shortage, and the UML random driver
> might be handy.

On my SuSE 9.3 installation, openssh-3.9p1-12 uses libcrypto-0.9.7 from 
openssl-0.9.7e-3.  According to their FAQ
        http://www.openssl.org/support/faq.html#USER1
the library will use /dev/urandom (or /dev/random if no urandom) to seed 
the random generator.  Thus it should not block even if entropy is 
exhausted.  Even so, UML's tend to have much lower entropy production than 
the host, like by a factor of 100, so the random pass-through driver is a 
really good idea.  

Hmm, /dev/urandom does exist within the guest, right?  If neither device 
can be found, libcrypto requires an initialization call which I didn't read 
the section about, but which probably involves hanging if it isn't done.

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: [EMAIL PROTECTED]  http://www.math.ucla.edu/~jimc (q.v. for PGP key)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to