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

Improve eclipse ssh agent on unknown Linux stacks #4334

Merged
merged 2 commits into from
Mar 7, 2017

Conversation

lehmanju
Copy link

@lehmanju lehmanju commented Mar 6, 2017

What does this PR do?

It improves the situation on custom docker images using a Linux OS which is not listed explicitly in the ssh server script file. (SSH server agent)

Originally I wanted to run a custom docker image with Arch Linux installed (in Codenvy). Currently this does not work because Arch Linux is not supported as docker container. However, the script basically checks whether sshd works or not. On supported systems the package is installed automatically, if it does not work. On unsupported systems the script currently exits regardless of a working sshd server.

This change at least tries whether it works or not. If not, you can still exit with an error code.

Changelog

Improve behavior of SSH installation script on unknown Linux stacks

@codenvy-ci
Copy link

Can one of the admins verify this patch?

@TylerJewell TylerJewell added the kind/enhancement A feature request - must adhere to the feature request template. label Mar 6, 2017
@TylerJewell
Copy link

@lehmanju - thanks for the contribution. A maintainer will take a look and consider the details. Just to confirm, have you filled out the Eclipse CLA and signed your commit? It looks like the IP validation test is failing so far.

@lehmanju
Copy link
Author

lehmanju commented Mar 7, 2017

@TylerJewell - I did sign the ECA on eclipse.org but the error still remains ... What do I have to do to fix that? Thx.

@TylerJewell
Copy link

Can you ammend the commit so that it contains the "Signed-off-by: Author Name email@address.com"? If you do this, the automatic validation should pick it up.

…rying to execute sshd

Signed-off-by: Julius Lehmann <jlkon.jl@gmail.com>
@lehmanju
Copy link
Author

lehmanju commented Mar 7, 2017

done

Signed-off-by: Julius Lehmann <jlkon.jl@gmail.com>
@TylerJewell TylerJewell added this to the 5.5.0 milestone Mar 7, 2017
@TylerJewell TylerJewell merged commit a4ca88c into eclipse-che:master Mar 7, 2017
@TylerJewell
Copy link

Fixed - thanks for your contribution!

@JamesDrummond JamesDrummond mentioned this pull request Mar 17, 2017
9 tasks
JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
* Fix issue where script is aborting on unknown Linux systems without trying to execute sshd
Signed-off-by: Julius Lehmann <jlkon.jl@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A feature request - must adhere to the feature request template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants