On Sat, Nov 29, 2014 at 02:52:22PM +0100, Valerio Pachera wrote:
> Hi, I'm going to test csync2.
> I have two virtual machines (debian wheezy 64 bit) on my laptop (debian 
> jessie).
> If I run csync2 -k newkey on the virtual machines, the command hangs,
> and I have to stop it by ctrl+c.

Your VM will likely be out of entropy,
and you probably use some old csycn2, which insists on using /dev/random...
Patch it to use /dev/urandom instead.

> 
> It generates something, but short:
> e.g. KhRolsuYVQ4LnrqN
> 
> On my laptop, it take no time and generates a logn key
> e.g. uX0sj9Zd2p_s0CiU7k7z2dCiAUFgplYjYzBM7ZnAcvnHIvuxvi3XArmXpMRHXvTL

Or generate elsewhere, and copy over.

-- 
: Lars Ellenberg
: http://www.LINBIT.com | Your Way to High Availability
: DRBD, Linux-HA  and  Pacemaker support and consulting

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
Csync2 mailing list
Csync2@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/csync2

Reply via email to