From stevep@magpie.zpfe.com  Mon Aug 19 15:03:04 2002
Return-Path: <stevep@magpie.zpfe.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BF04337B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Aug 2002 15:03:04 -0700 (PDT)
Received: from zpfe.com (dev06.eqp.zpfe.com [209.46.51.22])
	by mx1.FreeBSD.org (Postfix) with SMTP id 0562E43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Aug 2002 15:03:04 -0700 (PDT)
	(envelope-from stevep@magpie.zpfe.com)
Received: (qmail 37700 invoked by uid 3205); 19 Aug 2002 22:02:53 -0000
Message-Id: <20020819220253.37699.qmail@magpie.zpfe.com>
Date: 19 Aug 2002 22:02:53 -0000
From: steve@zpfe.com
Reply-To: steve@zpfe.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Patch to rc.firewall to log missing firewall rules file
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         41801
>Category:       conf
>Synopsis:       Patch to rc.firewall to log missing firewall rules file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 15:10:01 PDT 2002
>Closed-Date:    Mon Nov 04 01:09:54 PST 2002
>Last-Modified:  Mon Nov 04 01:09:54 PST 2002
>Originator:     steve@zpfe.com
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
self
>Environment:
System: FreeBSD magpie.zpfe.com 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #4: Sat Aug 17 14:22:34 CDT 2002 root@magpie.zpfe.com:/usr/obj/usr/src/sys/MAGPIE i386


>Description:
In troubleshooting a firewall problem I had, there was a subtle typo in the 
name of the firewall rules file.  The proposed patch makes it clear that
the specified rules file does not exist.
>How-To-Repeat:
Specify firewall_type in rc.conf with an invalid file name.
>Fix:
This is a patch to /etc/rc.firewall version 1.30.2.15.

--- rc.firewall.patch begins here ---
*** /etc/rc.firewall	Wed Jul 10 15:55:54 2002
--- /etc/rc.firewall.new	Mon Aug 19 15:39:22 2002
***************
*** 296,301 ****
--- 296,303 ----
  *)
  	if [ -r "${firewall_type}" ]; then
  		${fwcmd} ${firewall_flags} ${firewall_type}
+ 	else
+ 		echo "Firewall rules file ${firewall_type} not found."
  	fi
  	;;
  esac
--- rc.firewall.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: johan 
Responsible-Changed-When: Tue Aug 20 08:31:41 PDT 2002 
Responsible-Changed-Why:  
Over to Doug who is looking after etc/ 

I think this is a good change, if you do not 
want to deal with this particular change please 
assign it to lougi, our ipfw guru. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41801 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Nov 4 01:08:33 PST 2002 
State-Changed-Why:  


http://www.freebsd.org/cgi/query-pr.cgi?pr=41801 
>Unformatted:
