[systemd-devel] startup hang at 'load/save random seed'

Chris Murphy lists at colorremedies.com
Tue Aug 6 22:39:14 UTC 2019


[   10.281769] fmac.local systemd[1]: Starting Update UTMP about
System Boot/Shutdown...
[   10.295504] fmac.local audit[806]: SYSTEM_BOOT pid=806 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='
comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp"
hostname=? addr=? terminal=? res=success'
[   10.305289] fmac.local systemd[1]: Started Update UTMP about System
Boot/Shutdown.
[   10.305527] fmac.local audit[1]: SERVICE_START pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=systemd-update-utmp comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
[   15.264423] fmac.local systemd[1]: systemd-rfkill.service: Succeeded.
[   15.268231] fmac.local audit[1]: SERVICE_STOP pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd"
hostname=? addr=? terminal=? res=success'
[  286.296649] fmac.local kernel: random: crng init done
[  286.301223] fmac.local kernel: random: 7 urandom warning(s) missed
due to ratelimiting
[  286.319857] fmac.local systemd[1]: Started Load/Save Random Seed.
[  286.322850] fmac.local audit[1]: SERVICE_START pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=systemd-random-seed comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
[  286.323576] fmac.local systemd[1]: Reached target System Initialization.


I don't know why there's ratelimiting on urandom warnings, I have
printk.devkmsg=on

This also seems relevant.

[chris at fmac ~]$ sudo journalctl -b -o short-monotonic | grep -i seed
[    8.870985] fmac.local systemd[1]: Starting Load/Save Random Seed...
[    9.021818] fmac.local systemd-random-seed[619]: Kernel entropy
pool is not initialized yet, waiting until it is.
[  286.319857] fmac.local systemd[1]: Started Load/Save Random Seed.
[  286.322850] fmac.local audit[1]: SERVICE_START pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=systemd-random-seed comm="systemd"
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=?
res=success'
[chris at fmac ~]$


---
Chris Murphy


More information about the systemd-devel mailing list