-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Ubuntu] Breaking Change: runner user will have UID 1001 instead of 1000 for larger runners #10936
Comments
Gff |
|
Runner |
"amoek@amoek-desktop: |
👋🏽 It seems like this issue has broken our integration tests. We are receiving many permission errors now when running our integration tests. This is somewhat urgent as it is blocking Heaven deployments. We can disable our integration tests (requiring them) as a workaround but this introduces risk in that we are making changes that we do not know for sure if they are safe. |
Breaking changes
The user ID of
runner
user on larger runners, used to execute github jobs, will change from1000
to1001
. This will match the UID on standard runners.Target date
December 09, 2024.
The motivation for the changes
Users can hit permission issues when swapping workflows between larger and standard runners, especially with certain container operations.
Impact
For larger runners the
runner
user ID will be changed to 1001 to make it consistent with standard runners.Any larger runners workflows that take a hard dependency on the exact value of the runner UID, currently 1000, will need to be updated. We recommend resolving the UID at run time to ensure you always have the correct value.
Platforms affected
Runner images affected
Mitigation ways
If you build and run docker image on the same machine, you can use the following (more flexible) workaround:
This workaround grabs UID and GID of user from host machine and create user in docker image with the same UID/GID.
The text was updated successfully, but these errors were encountered: