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

Effects: set user id, group id of in-container process #547

Open
roberth opened this issue Dec 4, 2023 · 0 comments
Open

Effects: set user id, group id of in-container process #547

roberth opened this issue Dec 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@roberth
Copy link
Member

roberth commented Dec 4, 2023

Some software - notably nix - may behave differently when it's uid 0.

Changing the "virtual" uid seems possible with OCI Container process.user.uid = <json int> (but docs are sparse?)
Get the number from derivation magic attribute __hci_effect_uid or something. (Don't think it had to prefix anything yet)
Same for gid. Maybe other such options as well?
Add __hci_effect_minAgentVersion?

Also / when done

  • handle the version check on the backend scheduler to solve the forward/backward compat problem instantly
  • create friendly aliases for these parameters in hercules-ci-effects
@roberth roberth added the enhancement New feature or request label Dec 4, 2023
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