Skip to contentSkip to conversation

service start/stop test script

DISCUSSION Steve G 1 participant 1 message Sep 6, 2006 SELinux security module

lore
Share & tools
lore

Steve G

author
#0 lore raw

Hello,

I just wanted to let everyone know that I'm making a test script available to help policy writers. The script will go though /etc/rc.d/init.d and make a list of services installed. It filters out some that you'd really not want to run (like halt). Then it checks the service to see if its running. If so, it stops and starts the service. Otherwise it starts then stops the service. After each service cycle, it scans the audit logs to look for avcs. If any are found they are run through audit2allow and output. The script can be found here:

http://people.redhat.com/sgrubb/files/testing/service-avc-test

Feedback and updates are welcome.

-Steve

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.