View previous topic :: View next topic |
Author |
Message |
littlebar n00b
Joined: 27 Aug 2013 Posts: 26
|
Posted: Mon Jun 29, 2015 3:19 am Post subject: [solved] how to set CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=y? |
|
|
I want to install docker on gentoo(kernel 3.18.12), but get error:
Code: | CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: is not set when it should be. |
but, It seems CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is set:(make menuconfig)
Code: |
-*- Netfilter Xtables support (required for ip_tables)
*** Xtables combined modules ***
|
Code: | grep MATCH_ADDR .config | find NOTHING.
how to solve it?
thx. _________________ Gentoo is Great!
Last edited by littlebar on Mon Jun 29, 2015 7:53 am; edited 2 times in total |
|
Back to top |
|
|
genoobish n00b
Joined: 18 Feb 2015 Posts: 73
|
Posted: Mon Jun 29, 2015 3:57 am Post subject: |
|
|
I think you looked in the wrong menu option. it's under
Code: | Networking suppor > Networking options > Network packet filtering framework (Netfilter) > Core Netfilter Configuration > "addrtype" address type match support | (right below *** Xtables matches ***)
As to why your grep command didn't work I don't know... I just copy pasted it and it outputs what it should.
Code: | $ grep MATCH_ADDR .config
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set |
|
|
Back to top |
|
|
littlebar n00b
Joined: 27 Aug 2013 Posts: 26
|
Posted: Mon Jun 29, 2015 4:17 am Post subject: |
|
|
genoobish wrote: | I think you looked in the wrong menu option. it's under
Code: | Networking suppor > Networking options > Network packet filtering framework (Netfilter) > Core Netfilter Configuration > "addrtype" address type match support | (right below *** Xtables matches ***)
As to why your grep command didn't work I don't know... I just copy pasted it and it outputs what it should.
Code: | $ grep MATCH_ADDR .config
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set |
|
thx, but it seems there is NO option [ "addrtype" address type match support ], so, how to solve it? _________________ Gentoo is Great! |
|
Back to top |
|
|
genoobish n00b
Joined: 18 Feb 2015 Posts: 73
|
Posted: Mon Jun 29, 2015 4:25 am Post subject: |
|
|
when you type "/" in menuconfig it opens a search box. enter "NETFILTER_XT_MATCH_ADDRTYPE"
it should give you this:
Code: | │ Symbol: NETFILTER_XT_MATCH_ADDRTYPE [=m] │
│ Type : tristate │
│ Prompt: "addrtype" address type match support │
│ Location: │
│ -> Networking support (NET [=y]) │
│ -> Networking options │
│ -> Network packet filtering framework (Netfilter) (NETFILTER [=y]) │
│ -> Core Netfilter Configuration │
│ (1) -> Netfilter Xtables support (required for ip_tables) (NETFILTER_XTABLES [=y]) │
│ Defined at net/netfilter/Kconfig:942 │
│ Depends on: NET [=y] && INET [=y] && NETFILTER [=y] && NETFILTER_XTABLES [=y] |
See the last line, "Depends on", and make sure all the dependencies are checked. |
|
Back to top |
|
|
littlebar n00b
Joined: 27 Aug 2013 Posts: 26
|
Posted: Mon Jun 29, 2015 4:37 am Post subject: |
|
|
genoobish wrote: | when you type "/" in menuconfig it opens a search box. enter "NETFILTER_XT_MATCH_ADDRTYPE"
it should give you this:
Code: | │ Symbol: NETFILTER_XT_MATCH_ADDRTYPE [=m] │
│ Type : tristate │
│ Prompt: "addrtype" address type match support │
│ Location: │
│ -> Networking support (NET [=y]) │
│ -> Networking options │
│ -> Network packet filtering framework (Netfilter) (NETFILTER [=y]) │
│ -> Core Netfilter Configuration │
│ (1) -> Netfilter Xtables support (required for ip_tables) (NETFILTER_XTABLES [=y]) │
│ Defined at net/netfilter/Kconfig:942 │
│ Depends on: NET [=y] && INET [=y] && NETFILTER [=y] && NETFILTER_XTABLES [=y] && NETFILTER_ADVANCED [=n] │ |
See the last line, "Depends on", and make sure all the dependencies are checked. |
yes, I have checked before post this question.
and, which version of your kernel? I'm using 3.18.12. _________________ Gentoo is Great! |
|
Back to top |
|
|
genoobish n00b
Joined: 18 Feb 2015 Posts: 73
|
Posted: Mon Jun 29, 2015 4:43 am Post subject: |
|
|
I'm using a 4.1 right now. but I looked into the oldest I have, 3.18.9-hardened, and it was there also. Paste your .config (but take another look just to be sure) on bpaste (wgetpaste does that from the commandline) so maybe somebody else can help you. I can take another look at it tomorrow. |
|
Back to top |
|
|
littlebar n00b
Joined: 27 Aug 2013 Posts: 26
|
Posted: Mon Jun 29, 2015 4:52 am Post subject: |
|
|
genoobish wrote: | I'm using a 4.1 right now. but I looked into the oldest I have, 3.18.9-hardened, and it was there also. Paste your .config (but take another look just to be sure) on bpaste (wgetpaste does that from the commandline) so maybe somebody else can help you. I can take another look at it tomorrow. |
have solved it.
Code: | NETFILTER_ADVANCED [=n] | I forgot this.
many thx! _________________ Gentoo is Great! |
|
Back to top |
|
|
|