From owner-freebsd-bugs Mon Dec 30 20:10: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB48237B401 for ; Mon, 30 Dec 2002 20:10:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E105C43ED1 for ; Mon, 30 Dec 2002 20:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBV4A2NS061732 for ; Mon, 30 Dec 2002 20:10:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBV4A22K061731; Mon, 30 Dec 2002 20:10:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDBC237B401 for ; 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 ; 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: , Ben@sacred.mumble.org.uk, Hughes@sacred.mumble.org.uk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/46645: [PATCH] rc.shutdown state table saving has misleading echo line. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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