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

drivers: fix capabilities on non-linux systems #24450

Merged
merged 2 commits into from
Nov 13, 2024
Merged

drivers: fix capabilities on non-linux systems #24450

merged 2 commits into from
Nov 13, 2024

Conversation

pkazmierczak
Copy link
Contributor

In #24093 we moved from github.com/syndtr/gocapability to github.com/moby/sys/capability due to the former package no longer being maintainer. The new package's capability function works differently: the known/supported functionality is split now, and the .ListSupported() call will always return an empty list on non-linux systems. This means Nomad agents won't start on darwin or windows.

@pkazmierczak pkazmierczak self-assigned this Nov 13, 2024
@pkazmierczak pkazmierczak added backport/1.9.x backport to 1.9.x release line backport/ent/1.7.x+ent Changes are backported to 1.7.x+ent backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent labels Nov 13, 2024
Copy link
Member

@Juanadelacuesta Juanadelacuesta left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@philrenaud philrenaud left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM.

I'd have thought the Windows tests would have picked this up, as we definitely run clients there; at least enough of one to run some driver tests.

@pkazmierczak pkazmierczak merged commit 5dfb38d into main Nov 13, 2024
26 checks passed
@pkazmierczak pkazmierczak deleted the b-fix-cap branch November 13, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/ent/1.7.x+ent Changes are backported to 1.7.x+ent backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/1.9.x backport to 1.9.x release line
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants