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

Git credentials installer broken #8040

Closed
ghost opened this issue Dec 26, 2017 · 5 comments
Closed

Git credentials installer broken #8040

ghost opened this issue Dec 26, 2017 · 5 comments
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.

Comments

@ghost
Copy link

ghost commented Dec 26, 2017

https://github.com/eclipse/che/blob/e90eaa97fe06f2fbea4ad56351919087fe78d627/agents/git-credentials/src/main/resources/installers/1.0.0/org.eclipse.che.git.script.sh#L12

If there's no ~/.ssh dir in the container, the script fails to create another script that is then echoed to ~/.bashrc

@ghost ghost added kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system. team/enterprise labels Dec 26, 2017
@davidwindell
Copy link
Contributor

@eivantsov didn't my PR in Oct fix this for you? #7062

@ctron
Copy link
Contributor

ctron commented May 24, 2018

I do have the same problem. Git credentials don't work and in the startup log of the dev-machine you can see:

/bin/sh: 39: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 42: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 33: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 41: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 40: cannot create /home/user/.ssh/git.sh: Directory nonexistent
chmod: cannot access ‘/home/user/.ssh/git.sh’: No such file or directory
/bin/sh: 46: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 44: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 43: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 37: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 45: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 34: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 38: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 32: cannot create /home/user/.ssh/git.sh: Directory nonexistent
/bin/sh: 31: cannot create /home/user/.ssh/git.sh: Directory nonexistent

Running on OpenShift 3.9, Che 6.5.0.

ctron added a commit to ctron/che that referenced this issue May 24, 2018
… is missing

Signed-off-by: Jens Reimann <jreimann@redhat.com>
@ctron
Copy link
Contributor

ctron commented May 24, 2018

I actually think this is pretty severe bug pretty easy to fix. For me this completely knocks out Git support.

@phinaliumz
Copy link

I agree with ctron, this makes Git unusable for me aswell. I can use git when I manually copy the keys from /etc/ssh, but thats hardly cloud-IDE way to do this.

skabashnyuk pushed a commit that referenced this issue Jun 7, 2018
Signed-off-by: Jens Reimann <jreimann@redhat.com>
@ghost
Copy link
Author

ghost commented Jul 10, 2018

Closing as fixed

@ghost ghost closed this as completed Jul 10, 2018
hbhargav pushed a commit to hbhargav/che that referenced this issue Dec 5, 2018
… is missing

Signed-off-by: Jens Reimann <jreimann@redhat.com>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/P2 Has a minor but important impact to the usage or development of the system.
Projects
None yet
Development

No branches or pull requests

5 participants