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

[Backport release-1.28] Fix "executable in PATH" sysprobe #3643

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

k0s-bot
Copy link

@k0s-bot k0s-bot commented Oct 26, 2023

Automated backport to release-1.28, triggered by a label in #3641.
See #1784 #3409.

The loop over the varargs was not capturing the loop variable correctly,
so all the probes would check the same binary. Remove the loop and let
callers call the function multiple times for each executable. This is
less error prone. That bug was first introduced in 0f474b8, but didn't
become effective before 0f474b8.

Fixes: 0f474b8 ("Some new sysinfo probes")
Fixes: 19c800d ("Add sysprobe and some docs for required mount/umount")
Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
(cherry picked from commit c2d5e87)
@k0s-bot k0s-bot requested a review from a team as a code owner October 26, 2023 09:56
@k0s-bot k0s-bot mentioned this pull request Oct 26, 2023
16 tasks
@ncopa ncopa merged commit 127c6aa into release-1.28 Oct 26, 2023
74 checks passed
@ncopa ncopa deleted the backport-3641-to-release-1.28 branch October 26, 2023 12:25
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.

3 participants