Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

agent: failed to open proc: No such file or directory #620

Closed
devimc opened this issue Aug 1, 2019 · 0 comments · Fixed by #621
Closed

agent: failed to open proc: No such file or directory #620

devimc opened this issue Aug 1, 2019 · 0 comments · Fixed by #621
Assignees
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@devimc
Copy link

devimc commented Aug 1, 2019

Description of problem

Could not run container when the agent is the init process. Next error is appears in the proxy's journal

failed to open proc: No such file or directory

Looks like this bug was introduced in this pr #585

cc @bergwolf

@devimc devimc added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Aug 1, 2019
@devimc devimc self-assigned this Aug 1, 2019
devimc pushed a commit to devimc/kata-agent that referenced this issue Aug 1, 2019
When agent runs as init, it is not able to read `/proc/self/cmdline` because
of `/proc` has not been mounted when the C constructor is called.

This reverts commit cfbd8c9.

fixes kata-containers#620
devimc pushed a commit to devimc/kata-agent that referenced this issue Aug 1, 2019
When agent runs as init, it is not able to read `/proc/self/cmdline` because
of `/proc` has not been mounted when the C constructor is called.

This reverts commit cfbd8c9.

fixes kata-containers#620

Signed-off-by: Julio Montes <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant