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

[v13] Ignore ENOENT error on group check #27231

Merged
merged 1 commit into from Jun 2, 2023

Conversation

jakule
Copy link
Contributor

@jakule jakule commented Jun 1, 2023

Backport #27196 to branch/v13

As described here golang/go#40334 incorrect system configuration can lead user.LookupGroup to return ENOENT. We've already added a workaround #18981, but this one place seems to be forgotten. I also added ESRCH to ignored errors as newer glibc returns it.

The error was exposed after updating our docker image to Ubuntu 20.04 #26905 which includes newer Glibc.
@jakule jakule added this pull request to the merge queue Jun 2, 2023
Merged via the queue into branch/v13 with commit 857a7cc Jun 2, 2023
22 checks passed
@jakule jakule deleted the bot/backport-27196-branch/v13 branch June 2, 2023 03:32
@r0mant r0mant mentioned this pull request Jul 14, 2023
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.

None yet

3 participants