Debian 测试需要很长时间才能加载。 Crng 初始化完成

Debian 测试需要很长时间才能加载。 Crng 初始化完成

Debian 测试需要很长时间才能加载。这是 dmesg 日志的片段。内核 - 4.17

[   11.296697] audit: type=1400 audit(1533745556.133:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=415 comm="apparmor_parser"
[   11.302379] audit: type=1400 audit(1533745556.137:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=418 comm="apparmor_parser"
[   11.328331] audit: type=1400 audit(1533745556.165:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=417 comm="apparmor_parser"
[   15.831190] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   15.872149] r8169 0000:01:00.0 enp1s0: link down
[   15.873103] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready
[   18.614671] r8169 0000:01:00.0 enp1s0: link up
[   18.614687] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready
[  105.356953] random: crng init done
[  105.356969] random: 7 urandom warning(s) missed due to ratelimiting

我可以做什么来纠正这种情况?

答案1

我找到了解决方案。问题出在熵的生成器上。虽然内核中的这个错误并没有消除 - 你需要投入额外的资金。

sudo apt-get install haveged
sudo systemctl enable haveged
sudo systemctl start haveged

相关内容