[CentOS] ClamAV (was: antivirus)

Mon Jun 18 18:40:42 UTC 2007
Rodrigo Barbosa <rodrigob at darkover.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jun 18, 2007 at 11:35:40AM -0700, Kenneth Porter wrote:
>  --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]#

Wow. Thats really odd. I just did that on a new server (as opposed to the
one where I created those rules) and it worked flawlessly.

Are you sure you've got no errors during any of the first 2 commands ?

Since we are talking about SELinux, this _might_ be relevant: I usually
do this inside /root/selinux

[]s

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGdtGqpdyWzQ5b5ckRAueQAJ91GFGEFVD9CCBNGtRIo5l3plpLLwCgl/Pq
NgPTbUYB5loiFFUn8zsFuVY=
=gXNK
-----END PGP SIGNATURE-----