Bug 85203 - iptables rules saved to /etc/sysconfig/iptables do not restore on startup
iptables rules saved to /etc/sysconfig/iptables do not restore on startup
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: iptables (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-26 11:57 EST by Ajoy Chundee
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-28 06:33:56 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)

  None (edit)
Description Ajoy Chundee 2003-02-26 11:57:58 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
Hi All,

Rules are created and stored in /etc/sysconfig/iptables without problems.

When the system is started up these rules do not restore.  A set of "blanket" 
rules are applied.  However if i execute "/sbin/service iptables restart", the 
rules that I have created load correctly.

Thanks.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create custom IPTABLES rules after flushing current rules.
2. use iptables-save  > /etc/sysconfig/iptables
3. restart the system
4. use iptables -L and the ruleset created does not appear, standard rules 
appear
5. use /sbin/service restart iptables
6. use iptables -L and the correct rules appear.
    

Additional info:
Comment 1 Michael Schwendt 2003-02-26 16:21:52 EST
You can close this report because it is not a bug.

The correct procedure is to enable service "iptables" with running "chkconfig
iptables on". That will enable the script for current run-level.
Comment 2 Ajoy Chundee 2003-02-26 17:19:14 EST
So which runlevel should I be assigning iptables to please?

Thanks.
Comment 3 Michael Schwendt 2003-02-27 10:18:04 EST
The one you use and all run-levels that should enable the iptables rules.

Look into redhat-config-services or consult "man chkconfig" for more information. 

Please move further discussion to a mailing-list.

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