opencontainers / opencontainers/runc

Exec cli execSetns func receive pid but findProcess failed

Open
#3,575 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13.5k
Forks
2.3k
Avg merge
2d 8h
Merged PRs (30d)
30

Description

When I execute the runc exec command, I receive the pid information, but it finally fails to find the corresponding process by pid. because if it fails somewhere else inside the execSetns function there will be an error log, but it doesn't.it can only error in os.FindProcess.The error log is as follows:
截图
so, what is mistake about exit status 15?why it happens

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report points to runc's exec command, the execSetns function, and the os.FindProcess call. Start by tracing that path and reproducing the reported PID failure and exit status 15; done means the failure cause is identified and an appropriate diagnostic or fix is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.