LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-21-2006, 03:20 PM   #1
burntfuse
Member
 
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, 04:11 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 09:52 AM   #3
burntfuse
Member
 
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...
 
  


Reply


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 06:51 AM
custom kernel does not boot coyopil Debian 10 01-12-2006 01:01 PM
compiling iptables into custom kernel straxus Linux - Newbie 1 03-26-2005 10:32 PM
starting iptables fails with rhl9 and kernel 2.6.1. velska Red Hat 2 06-19-2004 09:33 PM
iptables-restore fails with quite ordinary (i think) configuration Prommy Linux - General 5 02-17-2004 06:37 AM


All times are GMT -5. The time now is 10:24 PM.

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