[users] clamav/clamd selinux problems

Jan-Frode Myklebust janfrode at tanso.net
Thu Sep 27 09:14:12 CEST 2007


On Wed, Sep 26, 2007 at 03:38:07PM -0500, Bob Pierce wrote:
> 
> I followed your instructions this far, but where do I add/modify the
> mods you mention in the next section?

I normally create these as files in /root/selinux-local (or similar).
Just plain text-files named $modulename.te

Then build and load them with:

	checkmodule -M -m -o $modulename.mod $modulename.te
	semodule_package -o $modulename.pp -m $modulename.mod
	semodule -i $modulename.pp

Ref. simple example in "Building selinux policy module on RHEL5" on
http://tanso.net/selinux/


  -jf


More information about the users mailing list