Bug 33360 - save option of iptables (initscripts) does not work
Summary: save option of iptables (initscripts) does not work
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: iptables
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-03-27 07:36 UTC by Need Real Name
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-03-27 07:38:40 UTC
Embargoed:


Attachments (Terms of Use)
A patch to fix problem with iptables save (836 bytes, patch)
2001-03-27 07:38 UTC, Need Real Name
no flags Details | Diff

Description Need Real Name 2001-03-27 07:36:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.0 i686)


In the initscript for iptables there is a section for 'stop' that wants to
save the current
status. There is a 'save' which should have been a function, but that is
missing.

Reproducible: Always
Steps to Reproduce:
1. Enable iptables (disable ipchains)
2. Stop iptables by executing "/etc/rc.d/init.d/iptables stop"
3.
	

Actual Results:  It complains that 'save' is an unknown command.

Expected Results:  It should have executed the 'save' part of the
initscript.

It's quite simple to fix, by moving the 'save' lines to a new function
save().

Comment 1 Need Real Name 2001-03-27 07:38:37 UTC
Created attachment 13783 [details]
A patch to fix problem with iptables save

Comment 2 Preston Brown 2001-03-27 22:56:25 UTC
we already fixed this in rawhide weeks ago.


Note You need to log in before you can comment on or make changes to this bug.