From owner-freebsd-arch Mon Feb 4 14:50:52 2002 Delivered-To: freebsd-arch@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id 8D0CC37B42C for ; Mon, 4 Feb 2002 14:50:47 -0800 (PST) Received: from user-38lc2pf.dialup.mindspring.com ([209.86.11.47] helo=gohan.cjclark.org) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16Xrwh-0006RM-00 for freebsd-arch@freebsd.org; Mon, 04 Feb 2002 14:50:46 -0800 Received: (from cjc@localhost) by gohan.cjclark.org (8.11.6/8.11.1) id g14MoNP04046 for freebsd-arch@freebsd.org; Mon, 4 Feb 2002 14:50:23 -0800 (PST) (envelope-from cjc) Date: Mon, 4 Feb 2002 14:50:21 -0800 From: "Crist J. Clark" To: freebsd-arch@freebsd.org Subject: Setting sysctl(8)'s in rc.conf Message-ID: <20020204145021.B3722@gohan.cjclark.org> Reply-To: cjclark@alum.mit.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG There are a number of rc.conf(5) variables whose sole purpose is to set sysctl(8) knobs. When I recently changed how the 'log_in_vain' rc.conf variable worked, it was suggested I remove it completely from the rc.conf and rc.network. It is something the user should be setting in /etc/rc.sysctl. For that specific sysctl(8) it seems to make sense. But what about ones like, net.inet.tcp.rfc1323 net.inet.icmp.bmcastecho net.inet.icmp.drop_redirect ... Should we drop their support from rc.conf(5) and expect the administrator to put them in /etc/rc.sysctl too? Note that some sysctl(8)s should NOT be removed like ones that depend on modules being loaded by conditionals in the rc-scripts. And there are others where order is important, don't flip 'net.inet.ip.forwading' and some others until the firewall has started. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message