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

cgroupsv2: generate pod: error creating cgroup #3801

Closed
vrothberg opened this issue Aug 13, 2019 · 3 comments · Fixed by #3810
Closed

cgroupsv2: generate pod: error creating cgroup #3801

vrothberg opened this issue Aug 13, 2019 · 3 comments · Fixed by #3810
Assignees
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@vrothberg
Copy link
Member

Running on latest master with cgroupsv2 and crun on Fedora 30:

[libpod (generate-pod)]$ ./bin/podman pod create --name foo
Error: unable to create pod: unable to create pod cgroup for pod f22b62f315b2d0951d9573b433ac361ca1ae7222585ada4aab7f7143a1c5c6aa: error creating cgroup user.slice/user-libpod_pod_f22b62f315b2d0951d9573b433ac361ca1ae7222585ada4aab7f7143a1c5c6aa.slice: read unix @->/run/systemd/private: read: connection reset by peer

@giuseppe PTAL

@giuseppe
Copy link
Member

I've fixed a bunch of issues with cgroups2 today as part of #3796.

From a quick test, it seems the command works now. Could you try with last crun version from master?

@vrothberg
Copy link
Member Author

Same issue with crun (commit 111d9cb77e57) and #3796.

@giuseppe
Copy link
Member

PR here: #3810

giuseppe added a commit to giuseppe/libpod that referenced this issue Aug 14, 2019
use the DBUS user session when running in rootless mode.

Closes: containers#3801

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@github-actions 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 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants