-----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 
>  <[EMAIL PROTECTED]> 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:
> 
>  [EMAIL PROTECTED] 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
>  [EMAIL PROTECTED] SELinux]# semodule -i clamd.pp
>  semodule:  Could not read file 'clamd.pp':
>  [EMAIL PROTECTED] 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-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to