ESET Server Security for Linux – Table of Contents

Oracle Linux Real-time protection issues

Issue

On Oracle Linux 8 and Oracle Linux 9, the compilation of the Real-time protection kernel module may fail because the default system GCC version does not match the GCC version used for the compilation of the running kernel.

Solution

To fix the issue, change the default system GCC to the GCC version used for the compilation of the running kernel by creating a systemd service override file.

1.Create service override file, run the following command as privileged user:

2.Add the following content to the file based on your Oracle Linux version and save the file:

Oracle Linux 8

Oracle Linux 9

Alternative one-time fix

If you do not want to change the default GCC permanently, run the following command as privileged user depending on your Oracle Linux version:

Oracle Linux 8

Oracle Linux 9