Reg error in policy module
Karl MacMillan
kmacmill at redhat.com
Tue Dec 19 22:07:01 UTC 2006
baskar baskar wrote:
> Hi,
> I have written this module and saved as twiki.te
>
> policy_module(twiki, 1.0)
> require {
> type httpd_sys_script_exec_t;
> type sbin_t;
> type tmp_t;
> type ls_exec_t;
> type httpd_tmp_t;
> type httpd_sys_script_t;
> }
> allow httpd_sys_script_t httpd_sys_script_exec_t:dir read;
> allow httpd_sys_script_t ls_exec_t:file getattr;
> allow httpd_sys_script_t sbin_t:file getattr;
> allow httpd_sys_script_t tmp_t:lnk_file read;
> allow httpd_sys_script_t httpd_tmp_t:file { r_file_perms unlink write };
>
> when i try to run
> semodule -i twiki.pp
>
> i am getting
> libsepol.permission_copy_callback: Module twiki depends on permission setkeycreate in class process, not satisfied
> libsemanage.semanage_link_sandbox: Link packages failed
> semodule: Failed!
>
> this error.
> please anyone help me
> i am configuring twiki now
> without this i cant move to next step
> please send me solutions
Your policy headers (from selinux-policy-devel) don't match the
installed policies. Are you compiling this on a different Fedora version
from where you ware installing the policy?
Karl
More information about the fedora-selinux-list
mailing list