From owner-freebsd-current@freebsd.org Sun Oct 28 15:48:23 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 20AE310D6902 for ; Sun, 28 Oct 2018 15:48:23 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 89E4E8A37C for ; Sun, 28 Oct 2018 15:48:22 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x432.google.com with SMTP id x12-v6so6012702wrw.8 for ; Sun, 28 Oct 2018 08:48:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=knP3J5p+3yVfRa2TIibgX2k2OwP5rcrCZwTu1aq9kZ8=; b=cqneEQkftAvKom9E8AbFXDv8pKsLve2qt5g/5MkaPSiRRJILu71ILEAIRLDr8LX9Wm OGp1hNPPZosQ4U9leO03IrvGvnk1dWjuYY4CTdza3GCZrn+8bVaOV3XdmUGdEOTN12mk 8Vpmrc1NXWYVDmhu4xpcofWnp6zZqGiht5/k4mi71j2wcNpuBNR+lvBPU4LwlkykiKVZ 79/vVJIH/YVwlegDUd4B1YtNs+scEGpA3Js81NTe4Cq0EpSm/COclMxF/s+kpmLfiH79 Wz/Tp8OC0CZjxk2MckDhgxM0DGLHjeLDR2RkrMkNU52AEYcoA6oqmUTrfUJC9nl2i9EB 3AIQ== X-Gm-Message-State: AGRZ1gK5M7gqbeSn6lU6tnXp7wDsApBl3w8nS3Lp59fjydDS59T/BRbe b6mr7fitjCg51qK18BXGo3LC6KoJkOc= X-Google-Smtp-Source: AJdET5eMcSfkdRugEpTg8FntZtmvtrYicqLtX9SmRjDv8Z1WAeNVHiF/J1YRKkC6pbcjuPsWvUz7HQ== X-Received: by 2002:adf:a31c:: with SMTP id c28-v6mr11940393wrb.195.1540741700887; Sun, 28 Oct 2018 08:48:20 -0700 (PDT) Received: from gumby.homeunix.com ([90.209.152.79]) by smtp.gmail.com with ESMTPSA id o9-v6sm20154903wra.42.2018.10.28.08.48.19 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 08:48:20 -0700 (PDT) Date: Sun, 28 Oct 2018 15:48:18 +0000 From: RW To: freebsd-current@freebsd.org Subject: Re: "arc4random: no preloaded entropy cache" printed once per CPU on startup Message-ID: <20181028154818.3fbefd01@gumby.homeunix.com> In-Reply-To: <7e275fec-0d8d-88c1-8dc5-47fc893436b2@bluestop.org> References: <7e275fec-0d8d-88c1-8dc5-47fc893436b2@bluestop.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Sun, 28 Oct 2018 15:48:23 -0000 On Sat, 27 Oct 2018 16:38:00 -0600 Rebecca Cran wrote: > 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: /entropy is the old style file fed into /dev/random from rc.d/random. There's another file /boot/entropy which is read much earlier.