Problems installing iptables Patch-o-matic on SLES9 and SuSE 9.1 and 9.1
Hello all, I'm trying to install the extra iptables patch-o-matic on SLES9 and SuSE 9.1 and 9.2 pro and i have a lot of problems doing this. Did any of you tryed this before and if you did, have you succeded ? I'm trying to install this using the SuSE kernel, kernel 2.6 on all of them, but when i try to install any of the patches from patch-o-matic i get a lot of errors not findind different files, or the patches cant be applied resulting rej files. I patched manualy most of them, but the question is: do i have to recompile the kernel after i install the patches, or is it possible to compile just the modules and insert them in kernel ? I guess there is no rpm or something that can do this on suse. Compiling a SuSE kernel is a real pain, i tryed once and spent a lot of time resulting different problems. Any advice or previous experience of yours would be greatly appreciated. Thank you, Daniel Dochita
I patched manualy most of them, but the question is: do i have to recompile the kernel after i install the patches, or is it possible to compile just the modules and insert them in kernel ?
Sure, you have to recompile the kernel. cd /usr/src/linux make menuconfig (to choose newly (patched|installed) iptables features) make dep bzImage modules modules_install then copy the kernel image from /usr/src/boot/arch/i386/boot/bzImage to the approbiate destination in /boot When using lilo (but grub is now SuSe's standard) you need to execute ">lilo -v -v" to install the kernel. Watch the output! A newly installed kernel needs a reboot!
Compiling a SuSE kernel is a real pain, i tryed once and spent a lot of time resulting different problems.
Normally it's not a big effort. Install the kernel sources and follow the steps mentioned above. Keep in mind that patch-o-matic magic will get lost when applying an online update using yast2. It is possible to install'n compile modules only, too. But you may run into problems doing that. make dep modules modules_install does it. If no errors occurs you still have to reload all modules!
Hope that helps The Polarizer Polarizers at it's best http://www.codixx.de/polarizer.html
participants (2)
-
Daniel Dochita
-
Polarizer