nbzic blocks needing entropy

John Klos <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.