Re: Reg error in policy module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux