Monday, July 12, 2010

Julian's NFCT patch on CentOS

Recently I had to add Netfilter connection tracking support for IPVS to my LVS directors, after reading:
http://www.ssi.bg/~ja/nfct/HOWTO.txt
http://wiki.centos.org/HowTos/Custom_Kernel

After few long hours of failures I came up with a small build script for this purpose only, for all of you that trying to patch Centos with Julian's NFCT patch I pasted the script here:

SCRIPT

ENJOY !

Golan :)

4 comments:

Golan Zakai said...

on centos 5.5 they fix PBR + ipvs problems :>

Anonymous said...

https://bugzilla.redhat.com/show_bug.cgi?id=491010

Anonymous said...

Added:
sed -e "s,#\% define buildid,\%define buildid .nfct,g" |

to not confuse it with the stock kernel.

Anonymous said...

Hi Golan, i have a problem with your script. When i run into my linux box i have this errors:

+ cp '/root/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686/configs/*' /root/rpmbuild/SOURCES
cp: cannot stat `/root/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686/configs/*': No such file or directory