Skip to content
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

exec: Register resize func a bit later #4010

Merged

Conversation

haircommander
Copy link
Collaborator

@haircommander haircommander commented Sep 12, 2019

if we register the resize func too early, it attempts to read from the 'ctl' file before it exists. this causes the func to error, and the resize to not go through.

Fix this by registering resize func later for exec. This, along with a conmon fix, will allow exec to know the terminal size at startup

Signed-off-by: Peter Hunt pehunt@redhat.com

@haircommander
Copy link
Collaborator Author

partially fixes #3903

(containers/conmon#71) for the other half

@rhatdan
Copy link
Member

rhatdan commented Sep 12, 2019

@haircommander gofmt errors.

@mheon
Copy link
Member

mheon commented Sep 12, 2019

/approve

if we register the resize func too early, it attempts to read from the 'ctl' file before it exists. this causes the func to error, and the resize to not go through.

Fix this by registering resize func later for conmon. This, along with a conmon fix, will allow exec to know the terminal size at startup

Signed-off-by: Peter Hunt <pehunt@redhat.com>
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 12, 2019
@mheon mheon added blocks 1.3 and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 12, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 12, 2019
@mheon mheon added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. blocks 1.3 labels Sep 12, 2019
@rhatdan
Copy link
Member

rhatdan commented Sep 12, 2019

@TomSweeneyRedHat
Copy link
Member

LGTM
Test failure doesn't seem related, I've just restarted.

@mheon
Copy link
Member

mheon commented Sep 12, 2019

/approve

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: haircommander, mheon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mheon
Copy link
Member

mheon commented Sep 12, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 12, 2019
@openshift-merge-robot openshift-merge-robot merged commit b095d8a into containers:master Sep 12, 2019
@debarshiray
Copy link
Member

I wonder if we can test this as part of our podman exec --tty sanity check. I have tried to add one in #4017

@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants