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

[RCCA-11060] Use panta/machineid to fix /etc/machine-id not found issue on alpine linux #1726

Merged
merged 2 commits into from
Feb 21, 2023

Conversation

MuweiHe
Copy link
Contributor

@MuweiHe MuweiHe commented Feb 21, 2023

Release Notes

Bug Fixes

  • Fixed an issue where users can't log in on Alpine linux due to missing /etc/machine-id file

Checklist

  1. [CRUCIAL] Is the change for features that are already live in prod?
    • yes: ok

What

Use a maintained fork of the previous machineid package, where it can detect machine id even in docker containers.

References

denisbrodbeck/machineid#5 (comment)

Test & Review

Tested on mac, ubuntu and alpine. After running login, /etc/machine-id is generated on alpine.

Open Questions / Follow-ups

@MuweiHe MuweiHe requested a review from a team as a code owner February 21, 2023 19:10
go.mod Outdated Show resolved Hide resolved
@MuweiHe MuweiHe enabled auto-merge (squash) February 21, 2023 19:19
@MuweiHe MuweiHe merged commit 22c7bf4 into main Feb 21, 2023
@MuweiHe MuweiHe deleted the machine-id branch February 21, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants