Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getsockopt failed strangely kernel 2.6.17-gentoo-r4 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DaneM
n00b
n00b


Joined: 28 Oct 2005
Posts: 39

PostPosted: Tue Jul 25, 2006 9:21 am    Post subject: getsockopt failed strangely kernel 2.6.17-gentoo-r4 [SOLVED] Reply with quote

Hello, everybody.

I was about to post this question, but in doing so I thought of a solution. I'll post both the question and the solution so that somebody else with the same problem won't have to ask.

I've recently upgraded from kernel 2.6.16-gentoo-r13 to 2.6.17-gentoo-r4, and now I get the following error when running kmyfirewall:

Code:

Create Rules for Chain: INPUT                    getsockopt failed strangely: No such file or directory
Setting up Rule: NFS_TCP FAILED !!!


The rule that it says failed is as follows:

Code:

$IPT -t filter -A INPUT --protocol tcp --match multiport --destination-port 111,2049,32765,32766,32767 -j ACCEPT


The solution:

I found this in my /usr/src/linux/.config file:

Code:

# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set


Since the above rule is trying to do a multiport match (to ports 111,2049,32765,32766,32767), that part of the kernel config should be:

Code:

CONFIG_NETFILTER_XT_MATCH_MULTIPORT=y


Either change it using a text editor, "make menuconfig", or "make xconfig", and then recompile your kernel as usual.

--Dane
Back to top
View user's profile Send private message
mno
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 272
Location: Toronto, Canada

PostPosted: Wed Aug 02, 2006 3:27 pm    Post subject: Reply with quote

Thank you! :)
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
DaneM
n00b
n00b


Joined: 28 Oct 2005
Posts: 39

PostPosted: Wed Aug 02, 2006 8:48 pm    Post subject: Reply with quote

You're welcome. :)

--Dane
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum