Comodo driver installation on OpenSUSE

Recently, one of my friend and colleague, Imran, was having trouble installing COMODO anti-virus on OpenSUSE 12.2. The filesystem kernel driver compilation was failing for OpenSUSE 12.2 kernel. He asked me to take a look. Although I am not a big fan of running anti-virus on Linux, I decided to give it a try. It turned out to be a simple interface change. I ended up making a small patch. (This is on top of CAV_LINUX-1.1.268025-1.x86_64.rpm version).

For anyone who wants to try, here is how it can be used:

  1. comodo driver is installed at /opt/COMODO/driver.tar. Take a backup of the original file and extract the file in a temp location:
    mkdir $HOME/comodo_driver
    cp /opt/COMODO/driver.tar $HOME/comodo_driver
    cd $HOME/comodo_driver
    tar xvf driver.tar
  2. Here is how I apply the patch:
    [niraj@nk-lap avflt]$ pwd
    [niraj@nk-lap avflt]$ patch -p3 < /home/niraj/avflt_patch_f18.txt
    patching file avflt_check.c
    Hunk #1 succeeded at 273 (offset 4 lines).
  3. Tar it back and put it in original location:
    [niraj@nk-lap comodo_driver]$ pwd
    [niraj@nk-lap comodo_driver]$ mv driver.tar driver_orig.tar
    [niraj@nk-lap comodo_driver]$ tar cvf driver.tar driver
  4. on root shell:
    [root@nk-lap ~]# mv /opt/COMODO/driver.tar /opt/COMODO/driver_orig.tar
    [root@nk-lap ~]# cp /home/niraj/comodo_driver/driver.tar /opt/COMODO/driver.tar
    [root@nk-lap ~]#
  5. Run the comodo configuration tool …
    [root@nk-lap ~]# /opt/COMODO/

Leave a Reply

Your email address will not be published. Required fields are marked *