CAVL v1.1.268025.1 not appropriate with up-to-date Fedora desktop systems
Important note: last CAVL release is v1.1.268025.1 – on: February 28, 2013, 03:11:30 AM – which currently means that development of that product – obsolete package – available for free to use has ended since that very release date. Yet bug-critical software is made available for download to public on site of product’s owner.
How to reproduce:
Check dependencies required by non-installed RPM package:
$ sudo LANG=C rpm -ivh cav-linux_x64.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package CAV_LINUX-1.1.268025-1.x86_64 is already installed
$ LANG=C repoquery --requires --resolve cav-linux_x64.rpm
Last metadata expiration check: 0:39:48 ago on Tue Oct 30 11:02:25 2018.
$ ls -l /usr/src/kernels/
drwxr-xr-x. 23 root root 4096 30.10. 09:39 4.18.16-300.fc29.x86_64
Install pertinent packages in order to satisfy installation requirements:
$ LANG=C sudo dnf install -y kernel-devel kernel-headers elfutils-libelf-devel
Last metadata expiration check: 2:30:42 ago on Tue Oct 30 09:20:57 2018.
Package kernel-devel-4.18.16-300.fc29.x86_64 is already installed.
Package kernel-headers-4.18.16-300.fc29.x86_64 is already installed.
Package elfutils-libelf-devel-0.174-1.fc29.x86_64 is already installed.
Find out information related to iinstalled package;
$ LANG=C dnf info CAV_LINUX
Last metadata expiration check: 0:56:12 ago on Tue Oct 30 11:02:25 2018.
Installed Packages
Name : CAV_LINUX
Version : 1.1.268025
Release : 1
(...)
Find out application installation paths on system;
$ rpm -ql CAV_LINUX
/opt/COMODO/cav
(...)
After installation, run
/opt/COMODO/post_setup.sh
script manually to configure it.
Actual result:
$ LANG=C sudo /opt/COMODO/post_setup.sh
(...)
Do you agree with this license?[Y/n]:
/opt/COMODO/post_setup.sh: line 50: /sbin/hdparm: No such file or directory
(...)
Build the RedirFS kernel modules for real-time protection...
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules
make[1]: Entering directory '/usr/src/kernels/4.18.16-300.fc29.x86_64'
CC [M] /tmp/driver/redirfs/rfs_path.o
In file included from /tmp/driver/redirfs/rfs_path.c:24:
/tmp/driver/redirfs/rfs.h: In function 'rfs_inode_mutex_lock':
/tmp/driver/redirfs/rfs.h:99:21: error: 'struct inode' has no member named 'i_mutex'; did you mean 'i_mode'?
mutex_lock(&inode->i_mutex);
^~~~~~~
i_mode
/tmp/driver/redirfs/rfs.h: In function 'rfs_inode_mutex_unlock':
/tmp/driver/redirfs/rfs.h:103:23: error: 'struct inode' has no member named 'i_mutex'; did you mean 'i_mode'?
mutex_unlock(&inode->i_mutex);
^~~~~~~
i_mode
/tmp/driver/redirfs/rfs.h: In function 'rfs_nameidata_put':
/tmp/driver/redirfs/rfs.h:488:14: error: dereferencing pointer to incomplete type 'struct nameidata'
path_put(&nd->path);
^~
/tmp/driver/redirfs/rfs_path.c: In function 'rfs_path_add_dirs':
/tmp/driver/redirfs/rfs.h:307:47: warning: comparison of distinct pointer types lacks a cast
(inode && inode->i_op && inode->i_op->rename == rfs_rename ? \
^~
/tmp/driver/redirfs/rfs_path.c:205:11: note: in expansion of macro 'rfs_inode_find'
rinode = rfs_inode_find(dentry->d_inode);
^~~~~~~~~~~~~~
/tmp/driver/redirfs/rfs_path.c: In function 'rfs_fsrename':
/tmp/driver/redirfs/rfs.h:307:47: warning: comparison of distinct pointer types lacks a cast
(inode && inode->i_op && inode->i_op->rename == rfs_rename ? \
^~
/tmp/driver/redirfs/rfs_path.c:926:11: note: in expansion of macro 'rfs_inode_find'
rinode = rfs_inode_find(new_dir);
^~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:318: /tmp/driver/redirfs/rfs_path.o] Error 1
make[1]: *** [Makefile:1510: _module_/tmp/driver/redirfs] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.18.16-300.fc29.x86_64'
make: *** [Makefile:3: all] Error 2
make -C /lib/modules/`uname -r`/build M=/tmp/driver/redirfs modules_install
make[1]: Entering directory '/usr/src/kernels/4.18.16-300.fc29.x86_64'
DEPMOD 4.18.16-300.fc29.x86_64
make[1]: Leaving directory '/usr/src/kernels/4.18.16-300.fc29.x86_64'
make -C /lib/modules/`uname -r`/build M=/tmp/driver/avflt EXTRA_CFLAGS=-I/tmp/driver/redirfs modules_install
make[1]: Entering directory '/usr/src/kernels/4.18.16-300.fc29.x86_64'
DEPMOD 4.18.16-300.fc29.x86_64
make[1]: Leaving directory '/usr/src/kernels/4.18.16-300.fc29.x86_64'
modprobe: FATAL: Module redirfs not found in directory /lib/modules/4.18.16-300.fc29.x86_64
RedirFS kernel modules installation failed.
The cmdagent stopped successfully! [ OK ]
The cmdagent started successfully! [ OK ]
The cmgdaemon stopped successfully! [ OK ]
The cmgdaemon started successfully! [ OK ]
COMODO Antivirus is successfully configured, you can start it from Menu or Desktop.
Expected result: software to be compatible with Linux using distribution Fedora as the product name suggests.