-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't kill a paused container in cgroup v1 environment. #1129
Comments
Hey @cyyzero , I took a look at the issue you linked, and we should also implement the same, i.e. if the cgroup on system is v1, then first thaw the container and then send a fatal kill signal , iff --force option is given. Would you be interested in working on this? My guess is following things will need to be done :
Let me know if you are interested in working on this, and in any case, Thanks for reporting and following up! |
Hey @YJDoc2., thanks for your reply! I'm willing to fix this issue. I will firstly deal with the bug of |
Hey @cyyzero , are you encountering any issue with this? Feel feel to ask for help, or let us know if any issue! |
@YJDoc2 Sorry for the slow progress, I've been preparing for job applications recently. |
Hey, no worries, I wanted to just check in if you're having any issues 👍 |
Test case is below:
Container status is wrong because killing paused container failed. The container process won't receive SIGKILL and quit until it is thawed. It also makes
youki delete --force test
failing, since cgroup directory can't be removed until there's no tasks in it.Here's the solution. opencontainers/runc#3217 Maybe I could help fix the issue.
The text was updated successfully, but these errors were encountered: