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

fix: rlimit memlock on older kernels #174

Merged
merged 2 commits into from
Jan 29, 2025
Merged

fix: rlimit memlock on older kernels #174

merged 2 commits into from
Jan 29, 2025

Conversation

qjerome
Copy link
Member

@qjerome qjerome commented Jan 29, 2025

There is an issue when running as a service on older kernels where RLIMIT_MEMLOCK occurs in the first place.

The solution of fixing limit in securityfs works at the only condition that the fs is mounted prior kunai starts. If is this not the case kunai will fail to start. To fix this we need to set RLIMIT_MEMLOCK in Kunai itself and this is what this PR is doing.

@qjerome qjerome force-pushed the fix-rlimit-memlock branch from ea53ffd to 382e0be Compare January 29, 2025 16:31
@qjerome qjerome merged commit 561a795 into main Jan 29, 2025
2 checks passed
@qjerome qjerome changed the title Fix rlimit memlock fix: rlimit memlock on older kernels Jan 29, 2025
@qjerome qjerome deleted the fix-rlimit-memlock branch January 29, 2025 17:51
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.

None yet

1 participant