Skip to content

No SCC allows cap IPC_LOCK #12741

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

Closed
smarterclayton opened this issue Jan 31, 2017 · 3 comments
Closed

No SCC allows cap IPC_LOCK #12741

smarterclayton opened this issue Jan 31, 2017 · 3 comments

Comments

@smarterclayton
Copy link
Contributor

I didn't realize this, but SCC capabilities = nil means "can't request the cap". So any Kube example (cassandra) that requests IPC_LOCK for mmap() is broken because none of our SCC's allow that. I had assumed that we would allow ["*"] to enumerate all possible caps.

@pweil- I see several kube charts and examples that assume IPC_LOCK can be had.

@mfojtik
Copy link
Contributor

mfojtik commented Feb 1, 2017

@php-coder FYI

@smarterclayton
Copy link
Contributor Author

This is a gap in SCC and in PSP if reasonable caps can't be accessed by default. We could enumerate, but I don't know why an admin wouldn't be able to run all caps.

@pweil-
Copy link

pweil- commented Feb 1, 2017

We could enumerate, but I don't know why an admin wouldn't be able to run all caps.

a * option makes sense to me for this and should be a very easy enhancement. @php-coder it should be the default for the privileged SCC. I would not add it to any others unless someone has a reason that IPC_LOCK should be considered reasonable. It allows you to prevent memory from being paged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants