From ben@sacred.mumble.org.uk  Mon Dec 30 20:01:05 2002
Return-Path: <ben@sacred.mumble.org.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EDBC237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Dec 2002 20:01:05 -0800 (PST)
Received: from sacred.mumble.org.uk (sacred.mumble.org.uk [217.205.200.194])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8A84B43ED1
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 30 Dec 2002 20:01:05 -0800 (PST)
	(envelope-from ben@sacred.mumble.org.uk)
Received: by sacred.mumble.org.uk (Postfix, from userid 1000)
	id F1E33126; Tue, 31 Dec 2002 04:01:15 +0000 (GMT)
Message-Id: <20021231040115.F1E33126@sacred.mumble.org.uk>
Date: Tue, 31 Dec 2002 04:01:15 +0000 (GMT)
From: <freebsdpr-ben@mumble.org.uk>, Ben@sacred.mumble.org.uk,
	Hughes@sacred.mumble.org.uk
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] rc.shutdown state table saving has misleading echo line.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46645
>Category:       conf
>Synopsis:       [PATCH] rc.shutdown state table saving has misleading echo line.
>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 Dec 30 20:10:02 PST 2002
>Closed-Date:    Wed Feb 22 02:15:05 GMT 2006
>Last-Modified:  Wed Feb 22 02:15:05 GMT 2006
>Originator:     freebsdpr-ben@mumble.org.uk
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD wake.poo.pants 4.7-STABLE FreeBSD 4.7-STABLE #8: Wed Dec 18 00:11:04 GMT 2002     root@wake.poo.pants:/usr/obj/usr/src/sys/WAKE  i386


>Description:
	/etc/rc.shutdown has a section for saving ipfilters state tables over
	reboots. It has lines to tell you it's doing this, and echos one of them
	even if it doesn't need to save them.

>How-To-Repeat:
	
	/sbin/shutdown a machine with 'ipfs_enable="NO"' in /etc/rc.conf
	to disable saving and restoring of ipf state tables (the default)
	and the line: "Saving firewall state tables:" will appear.

	
>Fix:

--- /etc/rc.shutdown.orig	Tue Dec 31 03:45:32 2002
+++ /etc/rc.shutdown	Tue Dec 31 03:46:50 2002
@@ -96,9 +96,6 @@
 # Insert other shutdown procedures here
 
 # Saving firewall state tables should be done last
-echo -n 'Saving firewall state tables:'
-
-# Save IP-filter state tables
 case ${ipfs_enable} in
 [Yy][Ee][Ss])
 	echo -n ' ipfs'

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Wed Feb 22 02:13:55 UTC 2006 
State-Changed-Why:  

This report has been overtaken by events in 5.x and beyond. 

Thanks for your interest in making FreeBSD better. 

Doug 


Responsible-Changed-From-To: freebsd-bugs->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Wed Feb 22 02:13:55 UTC 2006 
Responsible-Changed-Why:  

I closed this PR. 


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