Fatal error during RNG initialisation. Cannot initialize crypto RNG backend.
Error message:
Fatal error during RNG initialisation.
Cannot initialize crypto RNG backend.
Steps to reproduce:
pmbootstrap -y zap
yes | pmbootstrap -y install
pmbootstrap shutdown
yes | pmbootstrap -y install
Reason:
The first install creates the chroot and install everything successfully.
Then the pmbootstrap shutdown
removes everything from the {WORK}/chroot_native/dev/
folder and running again the install, the cryptsetup
command fails because it needs the /dev/urandom
file to initialize the crypto RNG backend. (see cryptsetup/blob/master/lib/random.c#L152-178)