FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora SELinux Support

 
 
LinkBack Thread Tools
 
Old 12-08-2009, 05:41 PM
John Oliver
 
Default Combining modules?

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@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?

--
************************************************** *********************
* John Oliver http://www.john-oliver.net/ *
* *
************************************************** *********************

--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 
Old 12-08-2009, 05:46 PM
Joshua Roys
 
Default Combining modules?

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@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).



--
fedora-selinux-list mailing list
fedora-selinux-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
 

Thread Tools




All times are GMT. The time now is 03:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org