On Mon, Mar 09, 2015 at 06:33:35PM +0000, Richard Melville wrote: > I've just upgraded from kernel 3.15 to 3.19.1 and iptables fails on boot > with:- > > "can't initialize iptables table `nat': Table does not exist (do you need > to insmod?) Perhaps iptables or your kernel needs to be upgraded." > > I receive the same message for ip6tables. I'm using the latest version > 1.4.21. I rebuilt and reinstalled iptables but to no avail. > > I always build static kernels so it's not a module issue. I used the same > .config with the new kernel, and I've checked /proc/config.gz, which looks > the same as before. When I reboot the box with the old kernel image > iptables and ip6tables come up just fine. > > Any help would be much appreciated before i tear out my remaining hair. It > must be something simple that I've overlooked. > > Richard
Does it fail, or does it spit out an error message as if it failed, but actually still works ? I don't use the book's rc.iptables. I can _vaguely_ remember that these sort of messages started to appear with an unpgrade to an -rc kernel, but my notes from last year do not mention it. If it is indeed not working, look in menuconfig - there have been a number of changes to the netfilter/iptables options in recent kernels, and everything new probably defaults to 'N'. I suppose it is also possible that one of these cannot be built in. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
