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 commit3648c68a22
)
This commit is contained in:
parent
14e1f41bcf
commit
acde285c69
|
@ -1,5 +1,5 @@
|
|||
|
||||
module tripleo_selinux_mariadb 1.0;
|
||||
module tripleo-selinux-mariadb 1.0;
|
||||
|
||||
require {
|
||||
type haproxy_t;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
module tripleo_selinux_rabbitmq 1.0;
|
||||
module tripleo-selinux-rabbitmq 1.0;
|
||||
|
||||
require {
|
||||
type rabbitmq_var_lib_t;
|
||||
|
|
Loading…
Reference in New Issue