Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 692944

Summary: net-firewall/firewalld wants NF_CONNTRACK_IPV4 which is no longer in kernel 4.19+
Product: Gentoo Linux Reporter: Jesse Harris <zigford>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: RESOLVED FIXED    
Severity: normal CC: miyu.chs, pmn
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for ebuild to check kernel version accordingly

Description Jesse Harris 2019-08-27 12:46:54 UTC
Emerging firewalld gives this message:

 * Messages for package net-firewall/firewalld-0.6.3:

 *   CONFIG_NF_CONNTRACK_IPV4:   is not set when it should be.
 *   CONFIG_NF_CONNTRACK_IPV6:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.

A similar bug was closed for shorewall: 
https://bugs.gentoo.org/671176
Comment 1 Pekka-Matti Nieminen 2019-11-25 12:29:02 UTC
 * Messages for package net-firewall/firewalld-0.7.1:

 *   CONFIG_NF_CONNTRACK_IPV4:   is not set when it should be.
 *   CONFIG_NF_CONNTRACK_IPV6:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
Comment 2 Pekka-Matti Nieminen 2019-11-25 12:50:36 UTC
Created attachment 597478 [details, diff]
Patch for ebuild to check kernel version accordingly

Proposed a patch for ebuild to check the kernel version.
Comment 3 Larry the Git Cow gentoo-dev 2020-03-17 21:07:59 UTC
The bug has been closed via the following commit(s):

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

commit b9221764772881ddd13f5fb603a2187041f8b8f7
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2020-03-17 19:40:06 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2020-03-17 21:07:42 +0000

    net-firewall/firewalld: remove superfluous kernel checks
    
    Closes: https://bugs.gentoo.org/692944
    Package-Manager: Portage-2.3.94, Repoman-2.3.21
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 net-firewall/firewalld/firewalld-0.7.1-r2.ebuild | 8 +++++++-
 net-firewall/firewalld/firewalld-0.7.3.ebuild    | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)