From owner-svn-src-all@FreeBSD.ORG Sun Nov 2 13:18:30 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7AC2DD5; Sun, 2 Nov 2014 13:18:30 +0000 (UTC) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (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 6E19A35B; Sun, 2 Nov 2014 13:18:30 +0000 (UTC) Received: from [2001:470:9174:1:407c:4bb6:6af1:63e2] by gromit.grondar.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Xkv36-000GZk-Ij; Sun, 02 Nov 2014 13:18:29 +0000 Subject: Re: svn commit: r273958 - head/sys/dev/random Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: text/plain; charset=utf-8 From: Mark R V Murray In-Reply-To: <86mw894vws.fsf@nine.des.no> Date: Sun, 2 Nov 2014 13:18:27 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <2B5FAE76-C3F7-4299-8B1F-AC9C660C7505@grondar.org> References: <201411020201.sA221unt091493@svn.freebsd.org> <720EB74E-094A-43F3-8B1C-47BC7F6FECC3@grondar.org> <86mw894vws.fsf@nine.des.no> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= X-Mailer: Apple Mail (2.1990.1) X-SA-Score: -1.0 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2014 13:18:30 -0000 > On 2 Nov 2014, at 12:41, Dag-Erling Sm=C3=B8rgrav wrote: >=20 > Mark R V Murray writes: >> I=E2=80=99m scared witless of this being on-by-default, for the = reason given >> in the removed comment. I=E2=80=99d much prefer to see it only turned = on if a >> kernel option is set, and the embedded folks /et al/ can use that. >=20 > You didn't seem to mind this code when we introduced it in 10-CURRENT. > Removing it breaks pretty much everything, not just embedded systems. > We can add a sysctl to turn it off, but it has to be on by default. I=E2=80=99ve had a closer look at things, and I=E2=80=99m coming round = to your side. Note that this has NO effect on Fortuna. Fortuna=E2=80=99s self-starting = appears to be more reliable. > Note that the alternative is to feed more trash into /dev/random at > boot, as we did before. It may give us a warm and fuzzy feeling which > we don't get from automatically seeding, but the reality is that we = have > no idea how good that trash is either. In fact, most of what we used = to > feed into /dev/random at boot (ps, sysctls etc) was constant or nearly > so. I prefer to trust that we get enough entropy from attachtimes and > I/O in the boot process - and the data I gathered indicates that there > is more than enough entropy from attachtimes alone, even on SFF = systems > and VMs. OK, Fair enough. :-) >> Moving the point of the auto-firstseed to where is good, thanks. >=20 > ...except that I'm not sure it doesn't break root-on-geli etc, but at > least it doesn't break it more than not having auto-firstseed at all. M --=20 Mark R V Murray