Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703874 - app-emulation/lxd-3.16-r1 should not warn about outdated kernel configuration options NF_NAT_MASQUERADE_IPV4 and NF_NAT_MASQUERADE_IPV6
Summary: app-emulation/lxd-3.16-r1 should not warn about outdated kernel configuration...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Erik Mackdanz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-26 19:02 UTC by Ralph Seichter
Modified: 2020-06-26 08:13 UTC (History)
1 user (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 Ralph Seichter 2019-12-26 19:02:10 UTC
Messages for package app-emulation/lxd-3.16-r1:
NF_NAT_MASQUERADE_IPV4: needed for network commands
NF_NAT_MASQUERADE_IPV6: needed for network commands

It looks like these configuration options are no longer available in recent kernel versions:

$ uname -r
5.4.6-gentoo-r3

$ zcat /proc/config.gz | grep MASQUERADE
CONFIG_NF_NAT_MASQUERADE=y
CONFIG_NETFILTER_XT_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP6_NF_TARGET_MASQUERADE=m
Comment 1 tdr 2020-06-08 21:27:34 UTC
Also effects lxd-4.0.1.ebuild:


# grep -n MASQ ./*ebuild
./lxd-3.14.ebuild:60:	~IP6_NF_TARGET_MASQUERADE
./lxd-3.14.ebuild:63:	~IP_NF_TARGET_MASQUERADE
./lxd-3.14.ebuild:69:	~NF_NAT_MASQUERADE_IPV4
./lxd-3.14.ebuild:70:	~NF_NAT_MASQUERADE_IPV6
./lxd-3.14.ebuild:77:ERROR_IP6_NF_TARGET_MASQUERADE="IP6_NF_TARGET_MASQUERADE: needed for network commands"
./lxd-3.14.ebuild:80:ERROR_IP_NF_TARGET_MASQUERADE="IP_NF_TARGET_MASQUERADE: needed for network commands"
./lxd-3.14.ebuild:86:ERROR_NF_NAT_MASQUERADE_IPV4="NF_NAT_MASQUERADE_IPV4: needed for network commands"
./lxd-3.14.ebuild:87:ERROR_NF_NAT_MASQUERADE_IPV6="NF_NAT_MASQUERADE_IPV6: needed for network commands"
./lxd-4.0.1.ebuild:40:	~IP6_NF_TARGET_MASQUERADE
./lxd-4.0.1.ebuild:43:	~IP_NF_TARGET_MASQUERADE
./lxd-4.0.1.ebuild:49:	~NF_NAT_MASQUERADE_IPV4
./lxd-4.0.1.ebuild:50:	~NF_NAT_MASQUERADE_IPV6



NF_NAT_MASQUERADE is the kernel name for NF_NAT_MASQUERADE_IPV4
Comment 2 Larry the Git Cow gentoo-dev 2020-06-26 08:13:13 UTC
The bug has been closed via the following commit(s):

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

commit 38736cb4eba180269edac353c4120c4e645db242
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-06-26 08:11:46 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-26 08:13:02 +0000

    app-emulation/lxd: 4.0.2 bump
    
     - update kernel config checks, #703874
    
    Closes: https://bugs.gentoo.org/703874
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-emulation/lxd/Manifest         |   2 +-
 app-emulation/lxd/lxd-4.0.2.ebuild | 204 +++++++++++++++++++++++++++++++++++++
 2 files changed, 205 insertions(+), 1 deletion(-)