Bug 33360 - save option of iptables (initscripts) does not work
save option of iptables (initscripts) does not work
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: iptables (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-03-27 02:36 EST by Need Real Name
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-03-27 02:38:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Need Real Name 2001-03-27 02:36:08 EST
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 02:38:37 EST
Created attachment 13783 [details]
A patch to fix problem with iptables save
Comment 2 Preston Brown 2001-03-27 17:56:25 EST
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.