Kernel mismatch on CentOS 7.5 causing installation problems

Issues related to applications and software problems
Post Reply
dev.dua
Posts: 1
Joined: 2019/06/03 09:10:12

Kernel mismatch on CentOS 7.5 causing installation problems

Post by dev.dua » 2019/06/03 09:11:22

I am trying to install Sysdig Falco on a CentOS 7.5 system. The kernel is -

[root@localhost ~]# uname -r
3.10.0-862.14.4.el7.x86_64
Now Falco requires Kernel Dev packages to be installed to build its kernel modules. Kernel modules for the above kernel version are no longer available and if the new packages are installed, they are for kernel version 3.10.0-957.12.2.el7.x86_64.

[root@localhost ~]# ls /usr/src/kernels/
3.10.0-957.12.2.el7.x86_64

Falco gets installed but the falco-probe kernel object does not get compiled, which makes Falco unable to run. I can't tinker with the installed kernel as that's the base image for production machines. Any workaround for this problem?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Kernel mismatch on CentOS 7.5 causing installation problems

Post by TrevorH » 2019/06/03 14:51:44

Reboot your system and select the newest kernel from the grub menu (which should be done automatically). Now your uname -r will match the installed version of kernel-devel.
I can't tinker with the installed kernel as that's the base image for production machines. Any workaround for this problem?
Yes, you need to update. You are about a year out of date by running an ancient and unsupported kernel. You are already missing fixes for highly severe security vulnerabilities.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply