Combining modules?

Joshua Roys joshua.roys at gtri.gatech.edu
Tue Dec 8 18:46:10 UTC 2009


On 12/08/2009 01:41 PM, John Oliver wrote:
> I don't know if there's a better way to do this, but I'm trying to get
> nagios working with selinux (CentOS 5.4 Final)  I try to run it, get an
> error, create a policy module, install it, and return to step one.  It's
> getting pretty ridiculous:
>
> [joliver at mda-services4 ~]$ sudo /usr/sbin/semodule -l | grep nagios
> nagios  1.1.0
> nagios10        1.0
> nagios2 1.0
> nagios3 1.0
> nagios4 1.0
> nagios5 1.0
> nagios6 1.0
> nagios7 1.0
> nagios8 1.0
> nagios9 1.0
>
> When I finally discover all of the problems... is there a way to dump
> all of those modules into one?  Both for my sanity, and so that I can
> maybe submit that module to CentOS so the next poor SOB who tries to do
> this doesn't have to reinvent the wheel?
>
> Or is there another, better, way to find all of the various rules that
> are needed in one fell swoop?
>

Instead of making a new file, you can just edit the old files, bump the 
version, and instead of semodule -i, use semodule -u (update).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2719 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20091208/5863b6ab/attachment.p7s>


More information about the fedora-selinux-list mailing list