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

Replace /bin/bash in oc rsh with /bin/sh -i #7519

Merged
merged 1 commit into from
Feb 22, 2016

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented Feb 22, 2016

Fixes: #7514

@mfojtik
Copy link
Contributor Author

mfojtik commented Feb 22, 2016

@bparees PTAL

@mfojtik
Copy link
Contributor Author

mfojtik commented Feb 22, 2016

@bparees @smarterclayton fyi, the web console already use interactive (-i) because the SCL is enabled there but the prompt says "sh" ;-)

@mfojtik
Copy link
Contributor Author

mfojtik commented Feb 22, 2016

and surprisingly, the oc rsh foo enters the interactive shell even if the -i is not specified.

@smarterclayton
Copy link
Contributor

smarterclayton commented Feb 22, 2016 via email

@mfojtik
Copy link
Contributor Author

mfojtik commented Feb 22, 2016

@smarterclayton which leaves us broken with SCL only when you invoke oc exec foo /bin/sh -c "ruby" and we can 'workaround' this by having tty: true by default there (it is false now).

@smarterclayton
Copy link
Contributor

smarterclayton commented Feb 22, 2016 via email

@mfojtik
Copy link
Contributor Author

mfojtik commented Feb 22, 2016

@smarterclayton I assume SCL is not just about the PATH, there is more magic done depending on collection :-(

@bparees
Copy link
Contributor

bparees commented Feb 22, 2016

lgtm. [merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5063/) (Image: devenv-rhel7_3506)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 3b12c0e

openshift-bot pushed a commit that referenced this pull request Feb 22, 2016
@openshift-bot openshift-bot merged commit 3b916e0 into openshift:master Feb 22, 2016
@smarterclayton
Copy link
Contributor

smarterclayton commented Feb 22, 2016 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants