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

Upload new k0s binary directly to final directory #685

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Conversation

kke
Copy link
Contributor

@kke kke commented Apr 19, 2024

Fixes #679

To avoid problems with noexec TMPDIR, upload the k0s binary directly to K0sBinaryPath() + ".tmp." + timestamp instead of using the tempdir given by mktemp.

Another option would be to keep uploading to TMPDIR but install it temporarily to a similar path.

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke added the bug Something isn't working label Apr 19, 2024
Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
@kke kke merged commit 91ea4ca into main Apr 25, 2024
33 checks passed
@kke kke deleted the bin-temp-location branch April 25, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade fails when /tmp is mounted with noexec
1 participant