Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 15:20:06 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.ORG>
To:        jack <jack@germanium.xtalwind.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: sysctl
Message-ID:  <Pine.NEB.3.96L.1011224151845.21138M-100000@fledge.watson.org>
In-Reply-To: <20011224143208.F17367-100000@germanium.xtalwind.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1011224151845.21138M-100000>