Skip to main content

Bitdefender Endpoint Security Tools compatibility with Debian 8

To ensure Bitdefender Endpoint Security Tools compatibility with Debian 8 you must provide support for on-access scanning. On-access scanning is available only if you set Fanotify to enforcing mode and rebuild the kernel package.

To allow on-access file scan on the Debian 8 machine, you must configure it as follows:

  1. Install build-essential and kernel-package:

    $ sudo apt-get install build-essential kernel-package
  2. Make sure you have at least 9 GB of free HDD space.

    You can free up the disk space by cleaning downloaded packages from the local repository:

    $ sudo apt-get clean
  3. Fetch the package sources:

    $ apt-get source linux-image-3.16.0-4-amd64

    This command will download the newest version of the sources in a new directory under the current one.


    The versions used in this section are just examples. Make sure you use the correct versions for your system.

  4. Change the current directory to the newly created one:

    $ cd linux-3.16.7-ckt11
  5. Copy the configuration file of the running kernel:

    $ cp -f /boot/config-`uname -r` .config
  6. In the .config file, change the following line:



  7. Build the kernel package:

    $ fakeroot make-kpkg --initrd --revision=1.0 kernel_image

    The package should be found in the parent directory of the current one:

    $ ls -l .. 
    total 118352
    drwxr-xr-x 25 admin admin 4096 Sep 3 01:30 linux-3.16.7-ckt11
    -rw-r--r-- 1 admin admin 3111276 Aug 5 02:21
    -rw-r--r-- 1 admin admin 140639 Aug 5 02:21 linux_3.16.7-ckt11-1+deb8u3.dsc
    -rw-r--r-- 1 admin admin 81714900 Jul 17 01:13 linux_3.16.7-ckt11.orig.tar.xz
    -rw-r--r-- 1 admin admin 34229740 Sep 3 01:32 linux-image-3.16.7-ckt11_1.0_amd64.deb
  8. Install the new kernel:

    $ cd .. $ sudo dpkg -i linux-image-3.16.7-ckt11_1.0_amd64.deb
  9. Update grub:

    $ sudo update-grub2

You can now reboot into your new kernel. If grub has not automatically selected it, you can do that yourself from the boot menu.