-
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
--device-cgroup-rule doesn't work #18698
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Comments
Could you check if this works in rootfull mode. |
thanks for reply, it works with --device |
A friendly reminder that this issue had no activity for 30 days. |
for rootless we ignore the device-cgroup option since it won't work there, for an unprivileged user there is no way to configure it, both on cgroup v1 and cgroup v2. I've opened a PR so we return an error: #19002 |
giuseppe
added a commit
to giuseppe/libpod
that referenced
this issue
Jun 26, 2023
we were silently ignoring --device-cgroup-rule in rootless mode. Make sure an error is returned if the user tries to use it. Closes: containers#18698 Signed-off-by: Giuseppe Scrivano <[email protected]>
ashley-cui
pushed a commit
to ashley-cui/podman
that referenced
this issue
Jul 13, 2023
we were silently ignoring --device-cgroup-rule in rootless mode. Make sure an error is returned if the user tries to use it. Closes: containers#18698 Signed-off-by: Giuseppe Scrivano <[email protected]>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Sep 24, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
I tried to use option --device-cgroup-rule, without success. The syntax is -v /dev:/dev --device-cgroup-rule='c 189:* rmw', but all devices are still available in container
Steps to reproduce the issue
podman run ...
Describe the results you received
all devices available
Describe the results you expected
only specified devices available
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: