-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Starting a container via the socket causes all socket calls to hang after that (podman 4.6.0 and systemd 252-16) #19625
Comments
This sounds like #18862 which is a systemd bug not podman. |
I could post it in systemd instead. Just want to make sure it is not that there was a change in systemd that forces podman to change some parameters in podman.socket and podman.service to get it working again. |
I reported it here as well: systemd/systemd#28843 |
All I can tell that there was this issue with systemd in 253.5 as mention in the issue and it has since been fixed. I have no idea if the problematic patches made into centos9, the best way would be to report this would be the centos9 bug tracker not the upstream bug tracker unless you can reproduce with the latest version. |
Closing as I don't think this is a podman problem. |
@Luap99 , I reported it in the centos 9 bugzilla as well. This issue appears specifically between 252-15 and 252-16. I'll be looking into reported issues and fixes in systemd to see if it is the same. |
Issue Description
Starting a container via the socket causes all socket calls to hang after that. This happens specifically with systemd 252-16.
Steps to reproduce the issue
Steps to reproduce the issue
The environment is a CentOS Stream 9 VM (e.g. qcow2). On a non-root user.
sudo dnf install podman-2:4.6.0-1.el9
sudo dnf install systemd-252-15.el9
systemctl --user enable --now podman.socket
podman --url unix://run/user/$(id -u)/podman/podman.sock run --name nginx-test -p 8080:80 -d docker.io/nginx
podman --url unix://run/user/$(id -u)/podman/podman.sock ps
. Run it multiple times. They all work.podman container rm -f nginx-test
sudo dnf install systemd-252-16.el9
podman --url unix://run/user/$(id -u)/podman/podman.sock run --name nginx-test -p 8080:80 -d docker.io/nginx
podman --url unix://run/user/$(id -u)/podman/podman.sock ps
. This one hangs.Sometimes, the step 10 has to be run multiple times before it hangs for good.
What I'm seeing is that the processes started in step 9 are included in the
podman.service
cgroup, and even though podman itself already exited, thepodman.service
appears as "active (running)", which seems to prevent systemd from starting podman to attend the subsequent socket requests.Describe the results you received
It hangs when using the socket to list containers
Describe the results you expected
I can list containers using the socket.
podman info output
The text was updated successfully, but these errors were encountered: