困ったこと
Kerberos認証の設定を進めていたところ、Loading random data
の表示から進まなくなった。
ubuntu@ldap_srv:/etc/default$ sudo kdb5_util create -r LDAP_SRV -s
Loading random data
↑以降戻ってこない
以下の記事を参考に、Havegedをインストールすることにした。
Increasing Entropy in VM for Kerberos
ubuntu@ldap_srv:~$ sudo apt install haveged
/etc/default/haveged
# Configuration file for haveged
# Options to pass to haveged:
# -w sets low entropy watermark (in bits)
DAEMON_ARGS="-w 1024"
Havegedインストール後はすぐにパスワード入力が求められ、Loading random data
で待つことは無くなった。