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
Kernel module checks fail when module not present #1445
Comments
Please include some details with the specifics. What warning/suggestion do you see and what is the related logging? |
Lynis generates the following line item:
This is what's logged:
The machine it's generating a log entry for does not have any avaialble firewire modules:
Compared to a "default" debian kernel:
I would suggest checking if the module is available before alerting that there's nothing stopping it from being loaded. |
Describe the bug
Kernel module checks (e.g. STRG-1846 and NETW-3200) still fail despite the modules not being built / installed.
Version
Expected behavior
I did not expect to see warnings about firewire, sctp etc. when the kernel has been compiled without these options.
Additional context
It might be worth checking an authoritative source if the module is even available on the host before alerting:
gzip -d /proc/config.gz -c
/boot/config-$(uname -a)
/lib/modules/<x>/modules.builtin
/lib/modules/<x>/modules.dep
The text was updated successfully, but these errors were encountered: