Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937106 - app-containers/waydroid: needs some netfilter kernel config enabled
Summary: app-containers/waydroid: needs some netfilter kernel config enabled
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Reva Denis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-01 20:25 UTC by Mathieu Rochette
Modified: 2024-08-06 14:59 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 Mathieu Rochette 2024-08-01 20:25:19 UTC
Starting a waydroid session without those kernel config enabled fails:

* CONFIG_NETFILTER_XT_TARGET_MASQUERADE
* CONFIG_NETFILTER_XT_NAT

because of this script: https://github.com/waydroid/waydroid/blame/1.4.2/data/scripts/waydroid-net.sh#L113-L124

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2024-08-03 21:33:45 UTC
There is no such package in the gentoo repo.
Comment 2 Mathieu Rochette 2024-08-03 21:44:04 UTC
ah sorry, it's in the Guru repository
Comment 3 Reva Denis 2024-08-06 14:21:26 UTC
Ok, I'll add a warning about it.
I also have warnings about NFTABLES in ebuild:
    ewarn "Make sure you have NFTABLES up and running in your kernel. See"
    ewarn "https://wiki.gentoo.org/wiki/Nftables for how-to details"
    ewarn
Comment 4 Larry the Git Cow gentoo-dev 2024-08-06 14:59:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c267d4087ebd2ed3c4b2986d5ae64e58abeceeab

commit c267d4087ebd2ed3c4b2986d5ae64e58abeceeab
Author:     Denis Reva <denis7774@gmail.com>
AuthorDate: 2024-08-06 14:22:00 +0000
Commit:     Denis Reva <denis7774@gmail.com>
CommitDate: 2024-08-06 14:22:00 +0000

    app-containers/waydroid: Added more kernel checks
    
    * CONFIG_NETFILTER_XT_TARGET_MASQUERADE
    * CONFIG_NETFILTER_XT_NAT
    
    Closes: https://bugs.gentoo.org/937106
    Signed-off-by: Denis Reva <denis7774@gmail.com>

 app-containers/waydroid/waydroid-1.4.2-r2.ebuild | 96 ++++++++++++++++++++++++
 1 file changed, 96 insertions(+)