From owner-freebsd-current@freebsd.org Sat Oct 27 22:38:02 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B911410D660E for ; Sat, 27 Oct 2018 22:38:02 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5789D7E60D; Sat, 27 Oct 2018 22:38:02 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 16DE4E80ED; Sat, 27 Oct 2018 16:38:40 -0600 (MDT) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id yPe2_qtr_kV1; Sat, 27 Oct 2018 16:38:39 -0600 (MDT) Received: from cube.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Sat, 27 Oct 2018 16:38:39 -0600 (MDT) From: Rebecca Cran Subject: "arc4random: no preloaded entropy cache" printed once per CPU on startup To: FreeBSD Current , cem@freebsd.org Message-ID: <7e275fec-0d8d-88c1-8dc5-47fc893436b2@bluestop.org> Date: Sat, 27 Oct 2018 16:38:00 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2018 22:38:02 -0000 On a normal boot (not verbose) of -CURRENT from today's sources I'm getting the following message printed once for each logical CPU: arc4random: no preloaded entropy cache Since other messages, including the same one in random_harvestq.c are under bootverbose, should this one in arc4random.c be too? I guess another question is _why_ this message is being displayed, since it looks like it should only happen if an entropy stash (/entropy?) is missing:         /*          * This is making the best of what may be an insecure          * Situation. If the loader(8) did not have an entropy          * stash from the previous shutdown to load, then we will          * be improperly seeded. The answer is to make sure there          * is an entropy stash at shutdown time.          */ -- Rebecca