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

shimv2: close process's IO before stdin io copy terminated(backport from 2.0) #2884

Closed
lifupan opened this issue Aug 11, 2020 · 0 comments · Fixed by #2885
Closed

shimv2: close process's IO before stdin io copy terminated(backport from 2.0) #2884

lifupan opened this issue Aug 11, 2020 · 0 comments · Fixed by #2885
Labels
bug Incorrect behaviour needs-review Needs to be assessed by the team.

Comments

@lifupan
Copy link
Member

lifupan commented Aug 11, 2020

Description of problem

see much more info kata-containers/kata-containers#439

Expected result

(replace this text with an explanation of what you thought would happen)

Actual result

(replace this text with the output of the kata-collect-data.sh script, after
you have reviewed its content to ensure it does not contain any private
information).

@lifupan lifupan added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Aug 11, 2020
lifupan pushed a commit to lifupan/kata-runtime that referenced this issue Aug 11, 2020
It should wait until the stdin io copy
termianted to close the process's io stream,
otherwise, it would miss forwarding some contents
to process stdin.

Fixes: kata-containers#2884

Signed-off-by: fupan.lfp <[email protected]>
lifupan pushed a commit to lifupan/kata-runtime that referenced this issue Aug 11, 2020
It should wait until the stdin io copy
termianted to close the process's io stream,
otherwise, it would miss forwarding some contents
to process stdin.

Fixes: kata-containers#2884

Signed-off-by: fupan.lfp <[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