From owner-freebsd-bugs Sat Jul 1 13:40: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 160D037BA1B for ; Sat, 1 Jul 2000 13:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA06390; Sat, 1 Jul 2000 13:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from cc158233-a.catv1.md.home.com (cc158233-a.catv1.md.home.com [24.3.25.17]) by hub.freebsd.org (Postfix) with ESMTP id 21FA437BA10 for ; Sat, 1 Jul 2000 13:33:31 -0700 (PDT) (envelope-from sjr@home.net) Received: (from sjr@localhost) by cc158233-a.catv1.md.home.com (8.9.3/8.9.3) id QAA37056; Sat, 1 Jul 2000 16:33:26 -0400 (EDT) (envelope-from sjr) Message-Id: <200007012033.QAA37056@cc158233-a.catv1.md.home.com> Date: Sat, 1 Jul 2000 16:33:26 -0400 (EDT) From: sjr@home.com Reply-To: sjr@home.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/19629: /etc/rc.sysctl can't set all syctls Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19629 >Category: conf >Synopsis: /etc/rc.sysctl can't set all syctls >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 01 13:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Stephen J. Roznowski >Release: FreeBSD 4.0-20000624-STABLE i386 >Organization: >Environment: >Description: /etc/rc.sysctl doesn't appear to be able to set the firewall variables (or anything else that is modloaded after it is sourced). >How-To-Repeat: Add net.inet.ip.fw.verbose=1 to /etc/sysctl.conf on a system where ipfw is modloaded. After the system boots, verbose is still set to zero. >Fix: While there are probably several different ways of solving this problem, the easiest is probably to rerun rc.sysctl at the end of rc. --- rc.orig Sat Jul 1 16:31:35 2000 +++ rc Sat Jul 1 16:32:16 2000 @@ -538,6 +538,12 @@ network_pass4 fi +# Set any sysctl variables that couldn't be set before. +# +if [ -r /etc/rc.sysctl ]; then + . /etc/rc.sysctl +fi + # Raise kernel security level. This should be done only after `fsck' has # repaired local file systems if you want the securelevel to be greater than 1. # >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message