[CentOS] ClamAV (was: antivirus)

Kenneth Porter shiva at sewingwitch.com
Mon Jun 18 18:35:40 UTC 2007


--On Monday, June 18, 2007 2:10 PM -0300 Rodrigo Barbosa 
<rodrigob at darkover.org> wrote:

> Ok, please disregard my last e-mail ehehehe You are actually pointing to
> my rules :)
>
> Save those rules to clamd.te, then:
>
># checkmodule -M -m clamd.te -o clamd.mod
># semodule_package -o clamd.pp -m clamd.mod
># semodule -i clamd.pp

The 3rd command fails:

[root at centos SELinux]# ls -l
total 24
-rw-r--r-- 1 root root 2284 Jun 18 11:30 clamd.mod
-rw-r--r-- 1 root root 2300 Jun 18 11:30 clamd.pp
-rw-r--r-- 1 root root  777 Jun 18 11:29 clamd.te
[root at centos SELinux]# semodule -i clamd.pp
semodule:  Could not read file 'clamd.pp':
[root at centos SELinux]#




More information about the CentOS mailing list