Skip to content

Commit 59e5b61

Browse files
committed
Update console dependency to fix runc exec on BE
This fixes a bug in the console package for big-endian architectures. When creating a new pty the returned path to the new pty slave was wrong for the second und all subsequent ptys. In runc the exec subcommand failed with an runtime error such as `container_linux.go:265: starting container process caused "open /dev/pts/4294967296: no such file or directory"`. The number is shifted by 32. Signed-off-by: Peter Morjan <[email protected]>
1 parent 595bea0 commit 59e5b61

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

vendor.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ github.com/urfave/cli d53eb991652b1d438abdd34ce4bfa3ef1539108e
2121
golang.org/x/sys 7ddbeae9ae08c6a06a59597f0c9edbc5ff2444ce https://github.com/golang/sys
2222

2323
# console dependencies
24-
github.com/containerd/console 84eeaae905fa414d03e07bcd6c8d3f19e7cf180e
24+
github.com/containerd/console 2748ece16665b45a47f884001d5831ec79703880
2525
github.com/pkg/errors v0.8.0

vendor/github.com/containerd/console/tc_linux.go

Lines changed: 7 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)