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

Docker: screen should start a bash session #876

Closed
bschmalhofer opened this issue Mar 20, 2021 · 2 comments
Closed

Docker: screen should start a bash session #876

bschmalhofer opened this issue Mar 20, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@bschmalhofer
Copy link
Contributor

Whenn logging into a otobo_web_1 container with docker exec -it otobo_web_1 bash one gets into bash. Running screen gives you /bin/sh. I would have expected /bin/bash . as $SHELL is /bin/bash . There is no /opt/otobo/.screenrc and no obvious setting in /etc/screenrc . screen -s /bin/bash works fine.
Adding /opt/otobo/.screenrc with "shell /bin/bash" should do the trich, but it would be nice to understand the behavior.

@bschmalhofer bschmalhofer added the enhancement New feature or request label Mar 20, 2021
@bschmalhofer bschmalhofer added this to the OTOBO 10.0 milestone Mar 20, 2021
@bschmalhofer
Copy link
Contributor Author

Found no good solution, so I'll add a ~otobo/.screenrc file. At least other people had the same problem: https://askubuntu.com/questions/721092/default-environment-for-screen-is-bin-sh-when-it-should-be-bin-bash.

bschmalhofer added a commit that referenced this issue Mar 27, 2021
Issue #876: set the shell in ~otobo/.screenrc
@bschmalhofer
Copy link
Contributor Author

Adding .screenrc did the trick. Closing this issue.

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

No branches or pull requests

1 participant