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

Log debug error if user cleanup is a not found error from missing getent binaries #42373

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

lxea
Copy link
Contributor

@lxea lxea commented Jun 4, 2024

Closes #41918

@lxea lxea added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v15 backport/branch/v16 labels Jun 4, 2024
lib/srv/usermgmt.go Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should our docs mention that host user operations won't work in distroless containers?

Should we check on startup whether the required tools are available and disable functionality that we know is not going to work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, pushed this

It doesn't mention it in the context of distroless containers but it does mention that it wont work unless the required binaries are in the path

@lxea lxea force-pushed the lxea/fix-cleanup-logging branch from 869c365 to f36392a Compare June 5, 2024 11:48
@lxea
Copy link
Contributor Author

lxea commented Jun 11, 2024

@zmb3 do you mind giving this another quick look over, thanks!

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from ryanclark June 11, 2024 18:26
@lxea lxea added this pull request to the merge queue Jun 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 12, 2024
@lxea lxea added this pull request to the merge queue Jun 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 12, 2024
@lxea lxea added this pull request to the merge queue Jun 12, 2024
Merged via the queue into master with commit 9092c7d Jun 12, 2024
37 checks passed
@lxea lxea deleted the lxea/fix-cleanup-logging branch June 12, 2024 15:10
@public-teleport-github-review-bot

@lxea See the table below for backport results.

Branch Result
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v15 backport/branch/v16 no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unactionable error message spam
3 participants