podman: exec not signaling child processes upon receiving termination signal #22495
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
Processes inside a container spawned by
podman exec
invocations are not killed when thepodman exec
invocation in the host that spawned them receives a kill signal itselfSteps to reproduce the issue
Steps to reproduce the issue
podman run --rm -it --name alpine alpine
watch -n 1 ps aux
podman exec -it alpine /bin/sh -c 'sleep 1000'
ps aux | grep podman | grep sleep
and kill it usingkill <pid>
Describe the results you received
Watch as the
podman exec
invocation gets killed in the host, but the process inside the container is not signaled and keeps running.Describe the results you expected
For the process
exec
ed bypodman exec
to be signaled to terminate upon killing thepodman exec
process itselfpodman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: