conmon icon indicating copy to clipboard operation
conmon copied to clipboard

journald logging with terminal prints stdin on new lines

Open haircommander opened this issue 5 years ago • 0 comments

Based on how runc creates a console socket (only one fd for stdin and stdout), conmon currently isn't correctly figuring out if a character written to a tty is a new stdout line or a character of stdin. As such, it is automatically treated as the former, and running with tty causes odd journald output like:

/ #
e
x
i
t

Where it should really be / # exit

when a user types exit into the console.

haircommander avatar May 28 '19 19:05 haircommander