Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable user namespace in kernel config #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mastersans
Copy link

This PR enables CONFIG_USER_NS in the kernel configuration.

As part of our effort to support running unit tests for different gadgets of Inspektor Gadget on various kernel versions, we're using Vimto with the kernel images provided by ci-kernel (CONFIG_USER_NS enabled fork currently). However, Inspektor Gadget relies on specific runners to generate events that are later captured by different gadgets for testing. During this process, we retrieve the inode number and attempt to create a runner associated with UserNsID. Without CONFIG_USER_NS enabled, we are unable to create this runner as expected.
Would it be possible to enable CONFIG_USER_NS in the main ci-kernels repository to address this issue?

Thanks!

reference: inspektor-gadget/inspektor-gadget#3631

Signed-off-by: mastersans <[email protected]>
@ti-mo ti-mo self-assigned this Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants