-
Notifications
You must be signed in to change notification settings - Fork 87
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
[RHELC-1200] Add OVERRIDABLE result to tainted kernel module check #1015
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1015 +/- ##
=======================================
Coverage 94.32% 94.33%
=======================================
Files 47 47
Lines 4549 4557 +8
Branches 810 811 +1
=======================================
+ Hits 4291 4299 +8
Misses 182 182
Partials 76 76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me as long as it's been tested in a VM
/packit test --labels sanity |
LINK_KMODS_RH_POLICY = "https://access.redhat.com/third-party-software-support" | ||
LINK_PREVENT_KMODS_FROM_LOADING = "https://access.redhat.com/solutions/41278" | ||
LINK_TAINTED_KMOD_DOCS = "https://docs.kernel.org/admin-guide/tainted-kernels.html" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not access those constants from the tainted_kmods
directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'll add this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. As @SpyTec mentioned, after testing in a VM it should be good to go.
35c3da3
to
a21d8c6
Compare
Co-authored-by: E Gustavsson <[email protected]> Co-authored-by: Rodolfo Olivieri <[email protected]>
for more information, see https://pre-commit.ci
8045e3f
to
b969566
Compare
PR has been tested in a VM |
/packit test --labels sanity |
The new CONVERT2RHEL_TAINTED_KERNEL_MODULE_CHECK_SKIP is missing at https://github.com/oamg/convert2rhel/wiki/Environment-variables. I'm adding it now. |
This PR adds an overridable result to the tainted kernel module check allowing users to override in the event of a tainted kernel module detected on the system. Additionally improves the message to the user to not alarm them along with some documentation explaining what a tainted kernel module is.
Jira Issues: RHELC-1200
Checklist
[RHELC-]
is part of the PR titleRelease Pending
if relevant