Skip site navigation (1)Skip section navigation (2)
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
Subject:   conf/46645: [PATCH] rc.shutdown state table saving has misleading echo line.
Message-ID:  <20021231040115.F1E33126@sacred.mumble.org.uk>

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


>Number:         46645
>Category:       conf
>Synopsis:       [PATCH] rc.shutdown state table saving has misleading echo line.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 30 20:10:02 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021231040115.F1E33126>