Debian

Debian 測試需要很長時間才能載入。Crng 初始化完成

  • August 9, 2018

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

我能做些什麼來糾正這種情況?

我找到了解決方案。問題出在熵的生成器上。雖然核心中的這個錯誤並沒有消除 - 你需要投入額外的資金。

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

引用自:https://unix.stackexchange.com/questions/461425