-
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
Reproduced #9219 but rebooting does not fix the issue #10480
Comments
@giuseppe PTAL |
could you please show the output for the following commands launched from the same environment where the
Please also attach the output for |
The first command was done and included at the bottom of the issue description. I ended up reinstalling yesterday and after testing this morning, the problem has gone away and I am no longer able to reproduce. |
sometimes rebooting is not an option. I'm also facing this exact issue |
I had the same problem on a fresh Fedora 35 Server system. It seems Fedora doesn't set some variables when you use
into the .bashrc and now it works. I also had to |
Same problem here (on fedora 36). |
Related fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=1622259 |
Same problem here (Fedora 37, Podman 4.4.2) and I spend quite some time on this before finding this ticket. I had a VNC server started which I connected to remotely and apparently it sets DBUS_SESSION_BUS_ADDRESS to another value. After setting it to the value @jackal-87 suggested using [rlenferink@fedora container-test]$ echo $DBUS_SESSION_BUS_ADDRESS
unix:path=/tmp/dbus-1raSFVD6nV,guid=93d09a82ff7f94462c90aa29641b19a5
[rlenferink@fedora container-test]$ export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1026/bus" Using |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Reproduced #9219 but rebooting does not fix the issue.
Steps to reproduce the issue:
podman run --name=test -d docker.io/archlinux sleep 600
podman exec test pwd
Errors with "Error: writing file `/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/user.slice/libpod-602619c8c44358b2be3022e72ab02970adcaa6bb628a8529c4baba464f7b2cd2.scope/container/cgroup.procs`: Permission denied: OCI permission denied"
systemd-run --scope --user podman exec test pwd
Exists correctly, printing "/".
Describe the results you received:
Unable to exec a command in a container. The container starts and runs to completion successfully.
Describe the results you expected:
Not have to use
systemd-run --scope --user ...
to define cgroup ownership.Additional information you deem important (e.g. issue happens only occasionally):
Issue happens consistently, after restarts.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes, using the most recent release and no info about this issue is on the troubleshooting page.
Additional environment details (AWS, VirtualBox, physical, etc.):
Bare metal install of Archlinux, up to date. Using Apparmor as the default security model and the lockdown=confidentiality kernel parameter.
/etc/sub{uid,gid} contains
user:100000:65536
Output of command requested but not answered in linked issue:
The text was updated successfully, but these errors were encountered: