conmon icon indicating copy to clipboard operation
conmon copied to clipboard

conmon doesn't forward errors from runtime

Open haircommander opened this issue 4 years ago • 3 comments

continuing conversation here

haircommander avatar Apr 29 '20 17:04 haircommander

I have confused why drain mainfd_stderr after finishing drain mainfd_stdout? If mainfd_stdout has continuous data, mainfd_stderr will not be sync? https://github.com/containers/conmon/blob/master/src/ctr_stdio.c#L86

chenk008 avatar Mar 06 '21 12:03 chenk008

I can't think of a reason to leave it that way. Are you running into an issue where reading stdout may be blocking reading stderr?

haircommander avatar Mar 08 '21 14:03 haircommander

I have confused why drain mainfd_stderr after finishing drain mainfd_stdout? If mainfd_stdout has continuous data, mainfd_stderr will not be sync? https://github.com/containers/conmon/blob/master/src/ctr_stdio.c#L86

It's my mistake. This routing will run after container exit.

chenk008 avatar Apr 06 '21 15:04 chenk008