From Fedora Project Wiki
No edit summary |
|||
Line 29: | Line 29: | ||
{{admon/note|TODO|The goal of this section is to help people understand how to package individual SELinux policy modules into a RPM; we should work closely with the Independent Policy Project (IPP), perhaps simply linking to IPP wiki docs if/when they exist.}} | {{admon/note|TODO|The goal of this section is to help people understand how to package individual SELinux policy modules into a RPM; we should work closely with the Independent Policy Project (IPP), perhaps simply linking to IPP wiki docs if/when they exist.}} | ||
TODO - explain and link to [[SELinux/IndependentPolicy]] in this section | |||
=== SELinux Policy Priorities === | === SELinux Policy Priorities === | ||
{{admon/note|TODO|This subsection should cover the prioritized policy store, explaining the different levels used in Fedora.}} | {{admon/note|TODO|This subsection should cover the prioritized policy store, explaining the different levels used in Fedora.}} | ||
Q - what priority do we expect policy developers/packagers to use here? | |||
=== SELinux Base Policies === | === SELinux Base Policies === | ||
{{admon/note|TODO|This subsection should cover the different SELinux base policies, e.g. targeted vs MLS, and explain how to handle this in the specfiles.}} | {{admon/note|TODO|This subsection should cover the different SELinux base policies, e.g. targeted vs MLS, and explain how to handle this in the specfiles.}} | ||
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 === | === Example SELinux Policy RPM specfile === | ||
{{admon/note|TODO|This subsection should provide an example SELinux policy module specfile with comments and annotations.}} | {{admon/note|TODO|This subsection should provide an example SELinux policy module specfile with comments and annotations.}} | ||
TODO - we can use the memcached policy specfile here | |||
== Bundling SELinux Policy RPMs in Fedora Modules == | == Bundling SELinux Policy RPMs in Fedora Modules == |
Revision as of 14:34, 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