-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
varlink endpoint for containerstats requires root #3753
varlink endpoint for containerstats requires root #3753
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: baude The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1fe7009
to
d6eae67
Compare
Make it work with cgroupsV2 check and then we can merge. |
31281f5
to
0710176
Compare
merge me |
LGTM after fixing the issue @mheon pointed out |
obtaining containerstats requires the use of cgroups. at present, rootless users do not have privileges to create cgroups. add an error message that catches this for the varlink endpoint and return a proper error. Fixes: containers#3749 Signed-off-by: baude <[email protected]>
fixed |
0710176
to
55cc80d
Compare
/lgtm |
obtaining containerstats requires the use of cgroups. at present,
rootless users do not have privileges to create cgroups. add an error
message that catches this for the varlink endpoint and return a proper
error.
Fixes: #3749
Signed-off-by: baude [email protected]