Skip to contentSkip to conversation

FC5 iptables-restore failure

DISCUSSION Andrew Morton 3 participants 5 messages Feb 15, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I've recently been noticing nasty messages come out of FC5:

sony:/home/akpm# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
sony:/home/akpm# service iptables start
Applying iptables firewall rules: iptables-restore: line 20 failed
                                                           [FAILED]

Dunno when it started happening, but it's in mainline now.

It's a pretty stupid error message. line 20 of what?

sony:/home/akpm# rpm -q iptables
iptables-1.3.5-1.2
#1 lore raw
Quoted 11 lines · Andrew Morton

I've recently been noticing nasty messages come out of FC5:

sony:/home/akpm# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
sony:/home/akpm# service iptables start
Applying iptables firewall rules: iptables-restore: line 20 failed
                                                           [FAILED]
Quoted 3 lines

Dunno when it started happening, but it's in mainline now.

It's a pretty stupid error message. line 20 of what?

2.6.18 -> 2.6.19 changes a bunch of netfilter config option names. Sure you weren't bitten by that ?

Dave

Signature · 1 line
http://www.codemonkey.org.uk
#2 lore raw
Quoted 12 lines · On Thu, 15 Feb 2007 06:20:22 -0500 Dave Jones <[email protected]> wrote:
Quoted 11 lines · Andrew Morton

I've recently been noticing nasty messages come out of FC5:

sony:/home/akpm# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
sony:/home/akpm# service iptables start
Applying iptables firewall rules: iptables-restore: line 20 failed
                                                           [FAILED]
Quoted 5 lines
Quoted 3 lines

Dunno when it started happening, but it's in mainline now.

It's a pretty stupid error message. line 20 of what?

2.6.18 -> 2.6.19 changes a bunch of netfilter config option names.

whee-lets-break-peoples-firewalls?

Quoted 1 line

Sure you weren't bitten by that ?

Darned if I know.

#3 lore raw
In reply to Dave Jones
Quoted 12 lines · On Thu, 15 Feb 2007 06:20:22 -0500 Dave Jones <[email protected]> wrote:
Quoted 11 lines · Andrew Morton

I've recently been noticing nasty messages come out of FC5:

sony:/home/akpm# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
sony:/home/akpm# service iptables start
Applying iptables firewall rules: iptables-restore: line 20 failed
                                                           [FAILED]
Quoted 6 lines
Quoted 3 lines

Dunno when it started happening, but it's in mainline now.

It's a pretty stupid error message. line 20 of what?

2.6.18 -> 2.6.19 changes a bunch of netfilter config option names. Sure you weren't bitten by that ?

Yeah, going and madly turning 1000 things on seemed to make it happy.

#4 lore raw
Quoted 14 lines · Andrew Morton
Quoted 12 lines · On Thu, 15 Feb 2007 06:20:22 -0500 Dave Jones <[email protected]> wrote:
Quoted 11 lines · Andrew Morton

I've recently been noticing nasty messages come out of FC5:

sony:/home/akpm# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
sony:/home/akpm# service iptables start
Applying iptables firewall rules: iptables-restore: line 20 failed
                                                           [FAILED]
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Dunno when it started happening, but it's in mainline now.

It's a pretty stupid error message. line 20 of what?

2.6.18 -> 2.6.19 changes a bunch of netfilter config option names. Sure you weren't bitten by that ?

Yeah, going and madly turning 1000 things on seemed to make it happy.

If you ran system-config-securitylevel to do that, that probably made it re-generate the /etc/sysconfig/iptables file which is dumped to iptables.

Signature · 1 line
David Hollis <[email protected]>