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

dashboard-dev can't update /etc/{passwd,group} on non-root instances. #13499

Closed
monaka opened this issue Jun 9, 2019 · 2 comments · Fixed by #13573
Closed

dashboard-dev can't update /etc/{passwd,group} on non-root instances. #13499

monaka opened this issue Jun 9, 2019 · 2 comments · Fixed by #13573
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@monaka
Copy link
Member

monaka commented Jun 9, 2019

Description

dashboard-dev container won't work on the Che instances run as non-root.

Reproduction Steps

che_host is set CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER to 1724 (non root)
Spawn workspace from https://che_host/f?url=https://github.com/eclipse/che/blob/master/dashboard/devfile.yaml

OS and version:

Diagnostics:

kubectl logs workspacerxvr82s6mj4vdl3f.dash-dev-5c55598b7b-fwc4m -c dash-dev
/entrypoint.sh: line 22: /etc/passwd: Permission denied
cat: //.passwd.template: No such file or directory
/entrypoint.sh: line 26: /etc/group: Permission denied
cat: //.group.template: No such file or directory
@monaka
Copy link
Member Author

monaka commented Jun 9, 2019

@monaka monaka changed the title dashboard-dev conainer crashes on non-root instances. dashboard-dev can't update /etc/{passwd,group} on non-root instances. Jun 9, 2019
@monaka
Copy link
Member Author

monaka commented Jun 9, 2019

Sorry for confusing. The crash is caused by the another reason (probably by my env). So I fixed the title and the description on this issue.

@AndrienkoAleksandr AndrienkoAleksandr added kind/bug Outline of a bug - must adhere to the bug report template. team/ide2 labels Jun 10, 2019
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants