Skip to content

[ws-daemon] Add mapped gitpod user to passwd #9682

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

Closed
wants to merge 2 commits into from
Closed

Conversation

csweichel
Copy link
Contributor

Description

Adds a duplicate of the Gitpod user to /etc/passwd to make getpwuid work in ws-daemon's content init activities (e.g. git checkout).
Using echo rather than adduser because we don't really need to create a new home directory.

Related Issue(s)

Fixes #9280

How to test

Try and run an incremental prebuild

Release Notes

Fix incremental prebuilds with submodules

Thanks

Thanks @princerachit for chasing this bug and testing this possible solution

@princerachit
Copy link
Contributor

See #9280 (comment)

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

Successfully merging this pull request may close these issues.

Prebuilds fail with error "cannot initialize workspace: prebuild initializer: git fetch -p -P . tags -f failed"
3 participants