-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
check-config.sh script doesn't work with Kernel 5.2 (IP_NF_NAT) #39313
Comments
also |
@Dmole are you interested in contributing, and opening a pull request to add support for the new names to the script? (note that both the old and new names should work, as older kernels are of course still supported). |
First guessing the cut offs;
NF_NAT_NEEDED -> NF_NAT (>5.1)
IOSCHED_CFQ -> IOSCHED_BFQ (>4.20)
CFQ_GROUP_IOSCHED -> BFQ_GROUP_IOSCHED (>4.20) |
Perhaps it could check |
(we should prevent doing that based on kernel version to take into account distros that backport features to older versions) |
Ideally feature instead of version checks are done, but that is not how the script is currently implemented, and possibly for good reasons like it would be hard to know if a feature is experimental/buggy during periods of overlap. (Ideally distributions use a LTS Kernel but that is rare). Maybe someone can setup a unit test for this to check the kernels on the server versions of RHL/Ubuntu/Manjaro which should cover the common and newest scenarios. |
Yes, I think pass on one of a set enabled is the best, something like
|
But first #39317 |
@thaJeztah bump. |
https://github.com/moby/moby/blob/master/contrib/check-config.sh#L194
in Kernel 5.2 it's IP_NF_NAT (not NF_NAT_IPV4)
The text was updated successfully, but these errors were encountered: