No edit summary |
No edit summary |
||
Line 54: | Line 54: | ||
{{admon/note|TODO|The goal of this section is to help users understand how to include SELinux policy inside of Fedora Modules, the lessons learned from the memcached prototype should be very helpful here.}} | {{admon/note|TODO|The goal of this section is to help users understand how to include SELinux policy inside of Fedora Modules, the lessons learned from the memcached prototype should be very helpful here.}} | ||
TODO - discussion/explanation | |||
=== Adding the SELinux Policy to the Module Install Profiles === | |||
{{admon/note|TODO|This subsection should document the how the included SELinux policy should be handled by the various module installation profiles, paying special attention to the "normal" (install the policy) and "container" (DO NOT install the policy) use cases. If any special dnf configuration is needed it should be described here as well.}} | |||
TODO - see what we did for the memcached prototype, especially the notes about adding the policy RPM to the profiles | |||
TODO - verify that the final decision was to add the policy packages to the default profile |
Revision as of 14:51, 14 December 2017
Configuring the Development Environment
Building RPMs and Fedora Modules
TODO - discussion/explanation
# dnf install module-build-service
Building SELinux Policy
TODO - discussion/explanation
# dnf install selinux-policy-devel rpm-build
Packaging SELinux Policy
TODO - explain and link to SELinux/IndependentPolicy in this section
SELinux Policy Priorities
Q - what priority do we expect policy developers/packagers to use here?
SELinux Base Policies
Q - have we tried packaging both a MLS and targeted policy module in the memcached prototype? If not, this is something we should do to verify that it works as expected.
Example SELinux Policy RPM specfile
TODO - we can use the memcached policy specfile here
Bundling SELinux Policy RPMs in Fedora Modules
TODO - discussion/explanation
Adding the SELinux Policy to the Module Install Profiles
TODO - see what we did for the memcached prototype, especially the notes about adding the policy RPM to the profiles TODO - verify that the final decision was to add the policy packages to the default profile