falco: Unable to install falco on CentOS 7.5 - add fallback mechanism if DKMS fails

Hi

I am unable to install Falco on CentOS 7.5, here’s the output of the script -

* Detecting operating system
* Installing falco public key
* Installing falco repository
* Installing kernel headers
Error: Nothing to do
Unable to find kernel development files for the current kernel version 3.10.0-862.14.4.el7.x86_64
This usually means that your system is not up-to-date or you installed a custom kernel version.
The installation will continue but you'll need to install these yourself in order to use falco.
Please write to the mailing list at https://groups.google.com/forum/#!forum/sysdig
if you need further assistance.
* Installing falco
Warning: RPMDB altered outside of yum.

Creating symlink /var/lib/dkms/falco/0.15.0/source ->
                 /usr/src/falco-0.15.0

DKMS: add completed.

Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed. 

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 20 (10 by maintainers)

Most upvoted comments

@fntlnz thanks for clearing this out, I will have to rethink the deployment strategy. Appreciate your help on this. The paragraph was from the installation doc - https://falco.org/docs/installation/

But it seems to have been removed now. However the content was the same thing as here - https://github.com/falcosecurity/falco/wiki/Install-Falco-(Minikube)