News for hackers. Stuff that matters.
Re:/dev/random and virtual systems by ScottBurson on Sunday May 29, 2011 @02:06PM (#2597112)
In a previous job I worked for a company whose product needed some entropy on startup. It originally read from /dev/random. But then one of our customers reported that the product was hanging on startup, just after installation. It turned out that they had installed it into a freshly built VM (not a cloned one, I guess) and the read from /dev/random was waiting to accumulate enough entropy to return. (We changed it to use /dev/urandom instead, which is not entirely satisfactory, but at least prevents hanging in this situation.)

While this is not exactly the scenario the OP is describing, it's another thing that can go wrong with /dev/random and VMs.

Re:/dev/random and virtual systems by nodata on Sunday May 29, 2011 @02:08PM (#2597116)
But that's not a problem with /dev/random and VMs, that's a problem everywhere.
Re:/dev/random and virtual systems by eru on Sunday May 29, 2011 @06:49PM (#2597825)
But most bare-metal installations will only hang once.
Re:/dev/random and virtual systems by cpeterso on Sunday May 29, 2011 @08:01PM (#2597966)
For servers and VMs without much internal entropy, they could use a random number server. On boot, they could pull random seed data from a web service like random.org or by hashing Google News headlines.