SELinux: rules migration to new version - unknown type var_lib_t
Hello,
I try to use SELinux rule which was used previously on RHEL4 but it fails during compilation. It looks all basic types like: var_lib_t, sysadmfile, initrc_t, sysadm_t, fonts_t, proc_t and other does not exist anymore. Do you know replacements or how to port RHEL4 SELinux attribute definitions to Fedora? On RHEL4 they were stored in /etc/selinux/targeted/src/policy/domains/program directory. I tried to copy it but make ignores it:
[root@localhost devel]# make
Compiling targeted jboss module
/usr/bin/checkmodule: loading policy configuration from tmp/jboss.tmp
jboss.te:113:ERROR 'unknown type var_lib_t' at token ';' on line 92422:
allow jboss_t var_lib_t:dir search;
#allow jboss_t fonts_t:file r_file_perms;
/usr/bin/checkmodule: error(s) encountered while parsing configuration
make: *** [tmp/jboss.mod] Error 1
|