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

[v11] Ignore ENOENT error on group check #27229

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

jakule
Copy link
Contributor

@jakule jakule commented Jun 1, 2023

Backport #27196 to branch/v11

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.
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from capnspacehook June 1, 2023 21:04
@jakule jakule added this pull request to the merge queue Jun 2, 2023
Merged via the queue into branch/v11 with commit 3b957d8 Jun 2, 2023
@jakule jakule deleted the bot/backport-27196-branch/v11 branch June 2, 2023 03:29
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.

3 participants