tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nbzic blocks needing entropy



Hi, all,

I was just building netbsd-10 on a newly installed system, and I noticed this:

[  9118.722449] entropy: pid 9063 (nbzic) blocking due to lack of entropy

root 9063 0.0 0.0 22472 3472 pts/0 IN 7:33AM 0:00.03 /usr/src/../tools/bin/nbzic -d /usr/src/../obj-amd64/external/public-domain/tz/share/zoneinfo/builddir -L /dev/null africa antarctica asia australasia europe northamerica southamerica etcetera backward factory

The man page for zic is... well, it's different, but I don't see any functions it'd do that'd need randomness. OTOH, lib/libc/time/zic.c shows randomness is used for creating temp files.

While people won't usually install a system, then immediately use it to compile without fully setting it up, I wonder if this use of random is a bit superfluous, or if at very least it should use non-blocking random?

John


Home | Main Index | Thread Index | Old Index