[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-selinux-list
Subject:    Re: Reg error in policy module
From:       Karl MacMillan <kmacmill () redhat ! com>
Date:       2006-12-19 22:07:01
Message-ID: 45886285.8080402 () redhat ! com
[Download RAW message or body]

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



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic