Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713656 - sys-cluster/neutron-15.0.2 *IPV4 needs to be enabled in kernel
Summary: sys-cluster/neutron-15.0.2 *IPV4 needs to be enabled in kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-20 15:27 UTC by Alessandro Barbieri
Modified: 2020-03-30 03:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-03-20 15:27:19 UTC
>>> Running pre-merge checks for sys-cluster/neutron-15.0.2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.4.13-rt-rt7-x86_64
 * NF_NAT_IPV4 needs to be enabled in kernel
 * NF_CONNTRACK_IPV4 needs to be enabled in kernel
 * NF_NAT_IPV4 needs to be enabled in kernel

my kernel configuration doesn't have them anymore

cat /usr/src/linux/.config | grep IPV4
CONFIG_NF_DEFRAG_IPV4=y
CONFIG_NF_SOCKET_IPV4=m
CONFIG_NF_TPROXY_IPV4=y
CONFIG_NF_TABLES_IPV4=y
CONFIG_NFT_REJECT_IPV4=m
CONFIG_NFT_DUP_IPV4=m
CONFIG_NFT_FIB_IPV4=m
CONFIG_NF_FLOW_TABLE_IPV4=m
CONFIG_NF_DUP_IPV4=m
CONFIG_NF_LOG_IPV4=m
CONFIG_NF_REJECT_IPV4=y

see:
https://cateee.net/lkddb/web-lkddb/NF_NAT_IPV4.html
https://cateee.net/lkddb/web-lkddb/NF_CONNTRACK_IPV4.html
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-24 01:59:48 UTC
not to be offensive, but use more words please?

Are you saying that those checks can (and should) be removed?  If so, have you tested neutron without them (as in run the tempest and grenade test types)?
Comment 2 Alessandro Barbieri 2020-03-24 08:48:47 UTC
CONFIG_NF_NAT_IPV4 is now CONFIG_NF_NAT for new kernels
https://github.com/torvalds/linux/commit/3bf195ae6037e310d693ff3313401cfaf1261b71

CONFIG_NF_CONNTRACK_IPV4 is now CONFIG_NF_CONNTRACK for new kernels
https://github.com/torvalds/linux/commit/a0ae2562c6c4b2721d9fddba63b7286c13517d9f#diff-151e6bfb6861e28609d10dc0c3577b8a
Comment 3 Larry the Git Cow gentoo-dev 2020-03-30 03:03:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=139cd3b0d9b7a4b2e85445f7160b1091babc6364

commit 139cd3b0d9b7a4b2e85445f7160b1091babc6364
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-03-30 03:02:55 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-03-30 03:03:16 +0000

    sys-cluster/neutron: clean up kernel config checks
    
    Closes: https://bugs.gentoo.org/713656
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 sys-cluster/neutron/neutron-2019.2.9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)