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>
This commit is contained in:
Lon Hohberger 2016-10-25 14:31:32 -04:00
parent fae231acf5
commit 3648c68a22
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
module tripleo_selinux_mariadb 1.0;
module tripleo-selinux-mariadb 1.0;
require {
type haproxy_t;

View File

@ -1,5 +1,5 @@
module tripleo_selinux_rabbitmq 1.0;
module tripleo-selinux-rabbitmq 1.0;
require {
type rabbitmq_var_lib_t;