Originally Posted by alexchen
When I Run the script /usr/src/linux/scripts/selinux/install_policy.sh
policy.conf:ERROR 'unknow role base_r' at token ':' on line 1109
checkpolicy: error encountered while parsing configuration
While this message on its own is way too terse for me to say something conclusive about (plus you haven't referenced or told us what steps you took before running the script) it seems the "base_r" role wasn't defined before it's used (doh) so you'll have to find out first where it's referenced and if it's part of some .pp policy module load it first. One link that may come in handy is the SELinux Reference Policy mailing list at http://oss.tresys.com/mailman/listinfo/refpolicy
BTW. And while it's slightly off topic I would be interested to know why you chose this particular MAC instead of 0) running a Linux distribution that fully supports SELinux out of the box or 1) choosing a different MAC you can graft on way easier like GRSecurity, TOMOYO, etc, etc?..