I thought I deleted that page a few months ago as it is out of date (although the principles are the same). You can download the new tarball from: http://freetechbooks.com/the-selinux-notebook-the-foundations-t785.html In the directory: basic-selinux-policy/modular-base-policy there is a Makefile that goes through the steps. I've just built this on Fedora 17 and it built ok. I've not tested it for awhile but see no reason why it should not work. Just remember it is a very basic policy and just really allows everything. The updated notes to build the various modules are in: basic-selinux-policy/message-filter/The SELinux Notebook - Building The Sample Policy.pdf If you do find errors please let me know as I like things to work and will fix any problems. Richard ----- Original Message ----- From: Thomas COUDRAY <amanone@xxxxxxxxx> To: selinux@xxxxxxxxxxxxx Cc: Sent: Tuesday, 30 July 2013, 18:45 Subject: Building the Base Policy Module I followed the SELinux documentation for building the base policy module. When I use checkmodule (checkmodule -o base.mod base.conf), I get this error. # checkmodule -o base.mod base.conf checkmodule: loading policy configuration from base.conf base.conf:1014:ERROR 'unknown role unconfined_r' at token ';' on line 1014: role unconfined_r types { unconfined_t }; # The only role defined for this policy: checkmodule: error(s) encountered while parsing configuration Also the base.fc, dbus_context, file, is missing. [1]: http://selinuxproject.org/page/Building_a_Basic_Policy#Building_the_Base_Policy_Module Thomas Coudray -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.