I recently upgraded some of my guest UML instances from and old kernel version (2.6.20.6) to a recent version (2.6.24.2). However, I am now experiencing strange behavior from various software packages following the upgrade (I use Debian lenny). For example, my ssh daemon has started crashing periodically with the following error message:
Feb 18 16:23:44 mail sshd[12078]: fatal: Couldn't obtain random bytes (error 604389476) Feb 20 03:56:24 mail sshd[6110]: fatal: Couldn't obtain random bytes (error 604389476) Then, I encountered another problem when patching one of the systems where it failed to upgrade the ssl-certs package. After poking around some, I found that aptitude was pausing while waiting for the following command to finish: openssl req -config /tmp/tmp.JmeCXP1861 -new -x509 -days 3650 -nodes -out /etc/ssl/certs/ssl-cert-snakeoil.pem -keyout /etc/ssl/private/ssl-cert-snakeoil.key This command will fail consistently on the instance until I add the following environmental variable: export RANDFILE=/dev/urandom My instance has the follow on the file system: # ls -lA /dev/*rand* crw-rw-rw- 1 root root 1, 8 2008-02-11 11:43 /dev/random crw-rw-rw- 1 root root 1, 9 2008-02-23 10:06 /dev/urandom # Is it possible that recent kernel versions are having issues with /dev/random? Any ideas on what would cause this behavior, or an I dealing with a known issue/misconfiguration? Tony ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user