On Thu, 2011-05-26 at 13:48 +0200, Dominick Grift wrote: > mkdir ~/mytest; cd ~/mytest; > echo "policy_module(mytest, 1.0.0) gen_require(\` type nagios_spool_t, > nagios_services_plugin_t, nagios_system_plugin_t; ') > manage_dirs_pattern({nagios_services_plugin_t > nagios_services_plugin_t }, nagios_spool_t, nagios_spool_t) > manage_dirs_pattern({nagios_services_plugin_t This one should be manage_files_pattern(... > nagios_services_plugin_t }, nagios_spool_t, nagios_spool_t)" > > mytest.te; make -f /usr/share/selinux/devel/Makefile mytest.pp > sudo semodule -i mytest.pp > sudo restorecon -R -v /var/spool/nagios > > See where that gets you. >
Attachment:
signature.asc
Description: This is a digitally signed message part
-- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/selinux