From owner-freebsd-current@FreeBSD.ORG Sat Sep 21 18:03:14 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 B8BE0552 for ; Sat, 21 Sep 2013 18:03:14 +0000 (UTC) (envelope-from agh@fastmail.fm) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8925D2EF3 for ; Sat, 21 Sep 2013 18:03:14 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3973D2079C; Sat, 21 Sep 2013 14:03:07 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 21 Sep 2013 14:03:07 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=8eTwE5SxHJe1mm1dFyPxLFYe BRw=; b=EUlpcahKcpvnPf+lmQor7fkGk4a3BZfCvgbfU1sUbh0MgbwyF6fbmFSd Ngy/CAe3vI8+RnRpVeJyYfx8M0+KhmDTu1EEgB+NvaWUKTl/2jAcAh7Lmm+nUASI eNgNkC4mP78i+Yq+oGhq1Ldyg6hIVy6z7z2O2ECojs0L1fxYxxc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=8eTwE5SxHJe1mm1dFyPxLFYeBRw=; b=aexbB/S83uzuYJUL52531Dh19YVY ajk4b5xBgyGakRJ2HL0n8NKi+DybStKAHH3/drvKDdOY/ommiSXh1DUvA0JX0R2N cUtZtD+tY73u3u9uDj4SeRw/fK4nrvdsObIB7Jax8Hxm+0Ropfv/XZtAo9LzMegd CcuHHQqisDreHk4= X-Sasl-enc: 6Bp+EBVFMAtZ2mcNXYHmv6Jit83QfCgK4MX5xFjxotVh 1379786586 Received: from direwolf.aux.io (unknown [203.59.221.16]) by mail.messagingengine.com (Postfix) with ESMTPA id 9F405C00E81; Sat, 21 Sep 2013 14:03:05 -0400 (EDT) Date: Sun, 22 Sep 2013 02:03:00 +0800 From: Alastair Hogge To: RW Subject: Re: sysctl: unknown oid 'kern.random.sys.harvest.interrupt Message-ID: <20130921180258.GB3069@direwolf.aux.io> References: <20130916172139.GA1297@devbox.vnode.local> <20130921031424.GA3069@direwolf.aux.io> <20130921124656.795536d0@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130921124656.795536d0@gumby.homeunix.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org 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 18:03:14 -0000 On 2013-09-21 Sat 12:46:56 +0100, RW wrote: > 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 This seems to have worked. 4 successful reboots into multiuser mode.