You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"cannot start a container that has stopped" in F-43 #5151
The container is created and the runc status shows it is in a created state. Next call of runc start fails with cannot start a container that has stopped and next calls of runc status shows the container is in the stopped state despite the fact nothing else started it.
The very same CI tests worked well before. You can see the issue with more debugging logs in the containers/conmon#643 - check the Build CI job in cirrus-ci.
I will investigate this issue when I have time. @jankaluza May I ask if this error has only been seen in the CI of https://github.com/containers/conmon, or has it been encountered in a real environment?
Activity
[-]"cannot start a container that has stopped" in F43[/-][+]"cannot start a container that has stopped" in F-43[/+]kolyshkin commentedon Mar 6, 2026
Looking at runc git log, one possible change that can theoretically result in a bug like this is d9f2a24a but it's there since 1.2.0.
Looking into what runc state does -- it just reads a few files and reports, not changing anything at all; so I don't understand how it may help.
There may be potentially some issues in (*Container).hasInit, I guess the way to debug this is to amend it with some printfs and see what's going on.
Let me try to repro locally.
kolyshkin commentedon Mar 6, 2026
Reproduced, bisected to commit 1b39997. Opened a revert (#5153).
HirazawaUi commentedon Mar 6, 2026
This surprises me. I thought this kind of error only occurs when runc start is called again after the first attempt fails.
HirazawaUi commentedon Mar 6, 2026
I will investigate this issue when I have time. @jankaluza May I ask if this error has only been seen in the CI of https://github.com/containers/conmon, or has it been encountered in a real environment?
kolyshkin commentedon Mar 12, 2026
The issue is going to be fixed in the upcoming runc 1.4.1.
kolyshkin commentedon Mar 12, 2026
As well as in runc 1.5.0-rc.1 (to be released soon) and runc 1.3.5 (if/when we will release another 1.3.x)