Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-21-2006, 04:20 PM   #1
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
iptables-restore fails on boot with custom kernel

Ever since I built my own kernel in FC5, the "applying firewall settings" stage in the Red Hat graphical boot has failed, showing "iptables-restore: line 20 failed". The boot log didn't have any more information, so I looked in the iptables config file and found that line 20 had 'COMMIT' on it - just to make sure, I tried using iptables-restore with a file containing only COMMIT, and it failed on the first line. I've checked my kernel configuration a few times (I didn't even touch the networking options much, I was just trying to get it over with quickly so I could build ndiswrapper and a few other modules), and all the iptables options are enabled. Any idea what's going on? I've seen other threads on this same subject from other people saying that their problem was with the kernel configuration, but I'm sure I've enabled everything.
Old 06-21-2006, 05:11 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Did you enable iptables as a module ("M") or as "Y"? On a Debian system I was working on, I had to actually compile in all the iptables stuff as Y. For some reason, the modules wouldn't function properly (I think it had to do with the iptables tools not being a new enough version to work with the modules or something like that). So the modules would load but all my iptables would fail.

Anyway, a recompile with "Y" for all the iptables/ipfilters stuff made it work for me... Good luck!
Old 06-22-2006, 10:52 AM   #3
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Original Poster
Rep: Reputation: 30
Thanks, I'll try that. I think a few options were compiled as modules...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 07:51 AM
custom kernel does not boot coyopil Debian 10 01-12-2006 02:01 PM
compiling iptables into custom kernel straxus Linux - Newbie 1 03-26-2005 11:32 PM
starting iptables fails with rhl9 and kernel 2.6.1. velska Red Hat 2 06-19-2004 10:33 PM
iptables-restore fails with quite ordinary (i think) configuration Prommy Linux - General 5 02-17-2004 07:37 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration