Problem with kernel patch
Alexander Dalloz
ad+lists at uni-x.org
Wed Oct 5 15:06:19 UTC 2005
Am Mi, den 05.10.2005 schrieb sasa um 14:08:
> Hi, on FC3 I have tried to install a nat-t patch for kernel 2.6.9-1 but I have an error, in particular:
Why do you run a such old kernel with several bugs and even well known
serious among them? And more you try to make it part in a security
chain, exposed to the public net?
> have put the file 'openswan-2.4.0.kernel-2.6-natt.patch' in:
>
> /usr/src/redhat/SOURCES
>
> ..where are already other file .patch.
> Then I have modified the '/usr/src/redhat/SPECS/kernel-2.6.spec' and I have inserted:
>
> Patch2020: openswan-2.4.0.kernel-2.6-natt.patch
> ..
> ..
> %patch2020 -p1
>
> ..then I execute:
>
> #rpmbuild -bp --target=i686 kernel.spec
>
> ..but I have the following error:
>
> CONFIG_IPSEC_NAT_TRAVERSAL
> make[1]: *** [nonint_oldconfig] Error 1
> make: *** [nonint_oldconfig] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.56626 (%prep)
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.56626 (%prep)
>
> why ?? where is the my mistake ??
> still thanks.
You need to insert a command set into the .spec file which adds
"CONFIG_IPSEC_NAT_TRAVERSAL=y" (or =m; don't know what that is best
here) to all the .config files the kernel src.rpm ships with.
> Salvatore.
Again, please choose a current Fedora kernel or at least the latest
vanilla kernel from kernel.org.
Alexander
--
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 17:01:27 up 6 days, 1:57, load average: 0.08, 0.05, 0.07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051005/3505c0de/attachment-0001.sig>
More information about the fedora-list
mailing list