Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701762 - net-vpn/wireguard-0.0.20191127: Needs kernel with CONFIG_IP{,6}_NF_RAW
Summary: net-vpn/wireguard-0.0.20191127: Needs kernel with CONFIG_IP{,6}_NF_RAW
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 15:06 UTC by tea
Modified: 2019-12-03 10:34 UTC (History)
0 users

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 tea 2019-12-02 15:06:57 UTC
wg-quick calls ip6tables-restore which needs a kernel compiled with CONFIG_IP6_NF_RAW and CONFIG_IP6_NF_RAW.

Reproducible: Always




Error message:
[#] ip6tables-restore -nw
ip6tables-restore v1.6.2: ip6tables-restore: unable to initialize table 'raw'

Error is gone after loading the modules ip6table_raw and iptable_raw.
Comment 1 tea 2019-12-02 15:34:54 UTC
It also needs CONFIG_NETFILTER_XT_CONNMARK or it fails with “Error occurred at line: 8”.

See also: grep CONNMARK /usr/bin/wg-quick
Comment 2 Larry the Git Cow gentoo-dev 2019-12-03 10:33:56 UTC
The bug has been referenced in the following commit(s):

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

commit 8b9ebbaf620a46cdd36da1fb98b0766f65b02fd0
Author:     Jason A. Donenfeld <zx2c4@gentoo.org>
AuthorDate: 2019-12-03 10:30:18 +0000
Commit:     Jason A. Donenfeld <zx2c4@gentoo.org>
CommitDate: 2019-12-03 10:33:48 +0000

    net-vpn/wireguard: fix dependencies
    
    Bug: https://bugs.gentoo.org/701762
    Bug: https://bugs.gentoo.org/701758
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>

 ...0191127.ebuild => wireguard-0.0.20191127-r1.ebuild} |  6 +++++-
 net-vpn/wireguard/wireguard-9999.ebuild                | 18 ++++++++++++++++--
 2 files changed, 21 insertions(+), 3 deletions(-)