git Fatal: no entropy gathering module detected

Another problem with git under chroot user :

Fatal: no entropy gathering module detected

The solution is to add two random devices to the chroot using root account:

[email protected]:/$ mknod -m 666 /dev/random c 1 8
[email protected]:/$ mknod -m 666 /dev/urandom c 1 9
[email protected]:/$ chmod 666 /dev/null