"cannot enable tty mode on non tty input" when stopping che from non-tty process #4005
Labels
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/P1
Has a major impact to usage or development of the system.
To reproduce, run eclipse Che and stop it using the following command. By capturing the output and piping it, the process doesn't get a tty/pty.
(docker run -i --rm -v /var/run/docker.sock:/var/run/docker.sock -v /home/ubuntu/:/data eclipse/che stop) | cat
You get the following output.
After this, the command exits (code 1), and che keeps on running.
Looking at the trace output; the following line gets executed:
As you can see, the
-t
flag is wrongfully added. This is because it is hardcoded incmd_action.sh
Full trace: http://pastebin.ubuntu.com/23911164/
OS and version:
Ubuntu 16.04
Diagnostics:
The text was updated successfully, but these errors were encountered: