NetBSD Problem Report #46911
From martin@duskware.de Thu Sep 6 08:43:57 2012
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 9F81063B9BC
for <gnats-bugs@gnats.NetBSD.org>; Thu, 6 Sep 2012 08:43:57 +0000 (UTC)
Message-Id: <20120906084357.9F81063B9BC@www.NetBSD.org>
Date: Thu, 6 Sep 2012 08:43:57 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: cprng rekeys too much
X-Send-Pr-Version: 3.95
>Number: 46911
>Category: kern
>Synopsis: cprng rekeys too much
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tls
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 06 08:45:00 +0000 2012
>Closed-Date: Mon Sep 10 02:32:03 +0000 2012
>Last-Modified: Mon Sep 10 02:32:03 +0000 2012
>Originator: Martin Husemann
>Release: NetBSD 6.99.11
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 6.99.11 NetBSD 6.99.11 (MODULAR) #3: Thu Sep 6 10:12:43 CEST 2012 martin@night-porter.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
There are a lot of warnings when logging via ssh into a -current machine
(like 50 lines of):
cprng sysctl: WARNING pseudorandom rekeying.
>How-To-Repeat:
Boot a -current machine, ssh in.
>Fix:
n/a
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->tls
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Thu, 06 Sep 2012 08:47:23 +0000
Responsible-Changed-Why:
over to resident expert
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 09 Sep 2012 17:16:08 +0000
State-Changed-Why:
a fix was committed (and the notice didn't make it to gnats) - does it work
now?
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: tls@NetBSD.org, netbsd-bugs@netbsd.org, gnats-admin@netbsd.org,
dholland@NetBSD.org, martin@NetBSD.org
Subject: Re: kern/46911 (cprng rekeys too much)
Date: Sun, 9 Sep 2012 19:20:23 +0200
I get a single warning log per ssh login now.
Martin
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 09 Sep 2012 17:32:08 +0000
State-Changed-Why:
well, I guess that's a start.
(I was seeing this too the other day when I updated one of my machines, but
I had to just revert the changes that caused it, as it's expensive to update)
State-Changed-From-To: open->closed
State-Changed-By: tls@NetBSD.org
State-Changed-When: Mon, 10 Sep 2012 02:32:03 +0000
State-Changed-Why:
Fixed. Any cprng keyed early (before there was even enough entropy
available for the pool code to consider itself started-up) now gets
rekeyed just once on the next request after startup entropy is available.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.