From owner-freebsd-stable Mon Dec 24 12:22:58 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 1689D37B417 for ; Mon, 24 Dec 2001 12:22:56 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fBOKK6D31182; Mon, 24 Dec 2001 15:20:06 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 24 Dec 2001 15:20:06 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: jack Cc: freebsd-stable@FreeBSD.ORG Subject: Re: sysctl In-Reply-To: <20011224143208.F17367-100000@germanium.xtalwind.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 24 Dec 2001, jack wrote: > Today Robert Watson wrote: > > > If the sysctl's are set before the linux emulator is loaded, that could > > explain what you saw. A similar problem was bumped into with regards to > > nfs recently, actually. Try setting them in rc.local and see if that > > improves things. > > It has worked for me in rc.local since the change in rc(8). The example > in the man page needs to be changed. I've updated the sysctl.conf(5) man page in -CURRENT to exclude the copmat.linux example sysctls, and added a BUGS entry indicating that the utility of sysctl.conf is limited for sysctl's introduced by modules that may not be loaded when sysctl.conf is processed. We probably need a better general purpose solution, but this should at least prevent people from shooting themselves in the feet. Assuming no substantial objections, I'll MFC in a couple of days so that the changes are present in the release. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message