tripleo-image-elements/elements/selinux
Lon Hohberger acde285c69 Make 'module' directives match filenames
As of the following upstream commit to checkpolicy, compiling
policy modules with filenames which differ from the module
directive will fail:

c6acfae4bc

This patch makes the policy filenames match the module directive
in the policy file, resolving the issue.

Change-Id: I5730bc51658bb886eacedd8af2c6251e1f8387f5
Closes-bug: 1636613
Signed-off-by: Lon Hohberger <lhh@redhat.com>
(cherry picked from commit 3648c68a22)
2016-10-27 14:42:50 +00:00
..
bin Merge "Fix Fedora builds on Ubuntu" 2014-08-14 15:05:29 +00:00
custom-policies Make 'module' directives match filenames 2016-10-27 14:42:50 +00:00
install.d Change how SELinux policies are compiled 2014-10-23 19:44:27 -07:00
os-refresh-config/configure.d Combine policy installs into one operation 2014-11-04 13:27:27 -08:00
README.md Additional SELinux scripts 2014-07-22 17:08:01 -07:00

README.md

An element containing SELinux scripts

  • bin/add-selinux-file-context

Adds a file context type to a file or a directory. It is a wrapper script around semanage fcontext -a -t .

  • bin/add-selinux-path-substitution

Adds a path substitution from a source to a target path. Can be used to indicate the SELinux rules that normally apply to the packaged version of nova at /usr/bin/nova (source path) should also be applied to the source version at /opt/stack/venvs/nova/bin/nova (target path).

  • bin/restore-selinux-file-context

Recursively restores the file context on a file or directory. It is a wrapper script around restorecon -Rv .