runsc delete broken with podman buildah
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
### Description
When building containers in podman with RUN steps using runsc as the runtime, the build fails because runsc delete fails, with this message:
destroying container: stopping container: gofer is still running
However, the container is in fact stopped and the gofer is not actually running. Somehow runsc delete doesn't notice.
However, running containers with podman normally works fine including termination. Docker buildkit building also works fine. Bulding containers with podman with other runtimes works fine.
Using systrap on ARM64.
### Steps to reproduce
Run podman build with any container file with a RUN step
### runsc version
```shell
runsc version release-20260525.0
spec: 1.2.1
```
### docker version (if using docker)
```shell
podman version 5.8.2
```
### uname
Linux debian 6.12.63-android16-6-g8ee72b352c6a-ab14789739-4k #1 SMP PREEMPT Tue Jan 27 22:27:21 UTC 2026 aarch64 GNU/Linux
### kubectl (if using Kubernetes)
```shell
```
### repo state (if built from source)
_No response_
### runsc debug logs (if available)
```shell
```
Contributor guide
Assessment
This issue has not been assessed yet.