-
-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setctty set but Ctty not valid in child with Go +be08e10b3b #96
Comments
Previous discussion in golang/go#29458 |
reproduced. Investigating. |
Note copied from golang/go#29458: If Right now the creack code is setting |
See creack/pty#96 for details of the original issue.
) See creack/pty#96 for details of the original issue.
The upcoming Go 1.15 compiler requires an update of the creack/pty package or runq-exec fails with: "fork/exec /sbin/nsenter: Setctty set but Ctty not valid in child" See creack/pty#96 for details. Signed-off-by: Peter Morjan <peter.morjan@de.ibm.com>
and has error in go 1.15 with issue creack/pty#96
Pulls in fix for creack/pty#96 Was causing `failed to build, error: fork/exec /bin/sh: Setctty set but Ctty not valid in child`
Pulls in fix for creack/pty#96 Was causing `failed to build, error: fork/exec /bin/sh: Setctty set but Ctty not valid in child`
Pulls in fix for creack/pty#96 Was causing `failed to build, error: fork/exec /bin/sh: Setctty set but Ctty not valid in child`
Fix for creack/pty#96 in go1.15
This idea for this fix is copied from creack/pty#96
Fixes "Setctty set but Ctty not valid in child with Go" error with Go 1.15 and up. See creack/pty#96
Fixes "Setctty set but Ctty not valid in child with Go" error with Go 1.15 and up. See creack/pty#96
Fixes "Setctty set but Ctty not valid in child" error with Go 1.15 and up. See creack/pty#96 for details.
Need to patch creack/pty for this bug: creack/pty#96 Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fix tty issue in go 1.15.x golang/go#29458 creack/pty#96
Need to patch creack/pty for this bug: creack/pty#96 Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
Fix pty issues on Linux, see creack/pty#96
gomote ssh connections immediately close with a "Connection closed" error. The coordinator logs indicate an error in our call to pty.Start, which is used to relay the tty between ssh connections. When the coordinator was updated to Go 1.16 from Go 1.13 in July, it likely caused this issue (see creack/pty#96). Fixes golang/go#48329 Change-Id: Ieec5d2220c6c5ef4c53de594acbdd598a1bafb6d Reviewed-on: https://go-review.googlesource.com/c/build/+/349092 Trust: Alexander Rakoczy <alex@golang.org> Run-TryBot: Alexander Rakoczy <alex@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
Steps to reproduce:
What did you expect to see?
No error
What did you see instead?
Error:
Bisected to this change: https://go-review.googlesource.com/c/go/+/231638/
FYI @ianlancetaylor @neild @mvdan
The text was updated successfully, but these errors were encountered: