]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Use host's /dev/urandom as /dev/random on guests via VirtIO RNG
authorTobias Brunner <tobias@strongswan.org>
Mon, 24 Aug 2020 13:33:44 +0000 (15:33 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 3 Sep 2020 11:34:19 +0000 (13:34 +0200)
commit5747ec4eae43960053d107b41128acc88f6235c9
tree940993cd6b3607327aa0a66a757fb1a656aaefe0
parent766017a8d329fc212e05b0f8d7ebc608ff3527d4
testing: Use host's /dev/urandom as /dev/random on guests via VirtIO RNG

Newer versions of systemd etc. seem to require quite a lot of entropy
from /dev/random while booting, which can block and therefore delay the
start of other services (in particular sshd) by more than a minute.
Using the host's /dev/urandom via VirtIO RNG, we can avoid blocking the
guests.

The required kernel options are added for kernel versions 5.4+.
testing/config/kernel/config-5.4
testing/config/kernel/config-5.5
testing/config/kernel/config-5.7
testing/config/kvm/alice.xml
testing/config/kvm/bob.xml
testing/config/kvm/carol.xml
testing/config/kvm/dave.xml
testing/config/kvm/moon.xml
testing/config/kvm/sun.xml
testing/config/kvm/winnetou.xml