From owner-freebsd-current@FreeBSD.ORG Sat Sep 21 11:47:01 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 52DAF536 for ; Sat, 21 Sep 2013 11:47:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E403D2A60 for ; Sat, 21 Sep 2013 11:47:00 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id cb5so540381wib.3 for ; Sat, 21 Sep 2013 04:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=jEJMcg/ZdnqWYj9I6dujWDrb0fnIXHAr1616zv4N7CA=; b=yGc37O9hSiA1aE6C16nIygVKkIB6tDOLC61KZ04ggcHKBy9mZYg/RDjT01sRYGYDMS bRLTz8sKACj+43NHIvoALjyvIsHAepr2vF5xck7MB8SRhKeGylub0/Ljb3UuinoPDJuc BElhXa/6+n153G5Da9C/bCTtkdSaVOsoMtjzGZI41wu3yHq32say5UhFBOl2HZm7fSe7 QfoEzAvhOMZPHAXXGwfU+WBJQgW3bOQASK9B8cDWglu+rezVLlsOLGJDfqZJvLsV5Et7 zWcrzdphs51eg+HW7GClEtOrRTqA5xrsfvwncwHSRoyigB57e1o6v5Y/ksDI/Sm+/cby 16Wg== X-Received: by 10.180.91.16 with SMTP id ca16mr6148708wib.57.1379764019263; Sat, 21 Sep 2013 04:46:59 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id dx7sm11458729wib.8.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 21 Sep 2013 04:46:58 -0700 (PDT) Date: Sat, 21 Sep 2013 12:46:56 +0100 From: RW To: freebsd-current@freebsd.org Subject: Re: sysctl: unknown oid 'kern.random.sys.harvest.interrupt Message-ID: <20130921124656.795536d0@gumby.homeunix.com> In-Reply-To: <20130921031424.GA3069@direwolf.aux.io> References: <20130916172139.GA1297@devbox.vnode.local> <20130921031424.GA3069@direwolf.aux.io> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) 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.14 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, 21 Sep 2013 11:47:01 -0000 On Sat, 21 Sep 2013 11:14:29 +0800 Alastair Hogge wrote: > On 2013-09-16 Mon 19:21:39 +0200, Joel Dahl wrote: > > Hi, > > Hi, > > > I noticed the following during boot on a machine running HEAD from > > today: > > I have noticed this since the recent work to /sys/dev/random > > > Entropy harvesting:sysctl: unknown oid > > 'kern.random.sys.harvest.interrupt': No such file or directory > > interruptssysctl: unknown oid 'kern.random.sys.harvest.ethernet': > > No such file or directory ethernetsysctl: unknown oid > > 'kern.random.sys.harvest.point_to_point': No such file or directory > > point_to_point kickstart. > > > > Known problem? It looks like /etc/rc.d/initrandom is no longer correctly checking for whether the software generator is in use, so it tries to set sysctls that don't exist. Those partiticular warnings look harmless. It might be that writing to /dev/random which occurs immediatly after is causing the problem. Try commenting out the following: # First pass at reseeding /dev/random. # case ${entropy_file} in [Nn][Oo] | '') ;; *) if [ -w /dev/random ]; then feed_dev_random "${entropy_file}" fi ;; esac better_than_nothing