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

podman does not create console if -t is present in noninteractive shell #3640

Closed
kubco2 opened this issue Jul 24, 2019 · 4 comments
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@kubco2
Copy link

kubco2 commented Jul 24, 2019

/kind bug

Description
If we run podman exec -t in non-interactive shell, it does not create console.

Steps to reproduce the issue:

podman run --rm -d --name test ubi8 sleep 1000

run this command in non-interactive shell:
podman exec -t test date

Describe the results you received:
exec failed: provided file is not a console
Error: exit status 1

Describe the results you expected:
It should work as with docker.

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

podman version 1.4.4
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jul 24, 2019
@vrothberg
Copy link
Member

Hi @kubco2, thanks for opening the issue. Can you share the output of podman info --debug and podman --log-level=debug exec -t test date? I am unable to reproduce it on my Fedora 30 machine.

@kubco2
Copy link
Author

kubco2 commented Jul 24, 2019

Hi, looks like it is fixed in master branch. Probably with this commit a1a79c0
This issue can be closed.

@baude baude closed this as completed Jul 24, 2019
@mheon
Copy link
Member

mheon commented Jul 24, 2019

I don't think the issue is actually solved - conmon exec just introduced a new one over it.

@mheon mheon reopened this Jul 24, 2019
@mheon
Copy link
Member

mheon commented Jul 24, 2019

Oh, nevermind. Working as advertised, per comparison with Docker. Neat.

@mheon mheon closed this as completed Jul 24, 2019
@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 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

5 participants