2017-02-20 05:38:06

by Russell Coker

[permalink] [raw]
Subject: [refpolicy] [PATCH] tiny monit patch

The following patch fixes an issue due to a renamed interface. I'm sending it
on it's own as it's important that the reference policy builds and I'm not
ready to merge all the other monit policy yet.

Index: refpolicy-2.20170220/policy/modules/contrib/monit.te
===================================================================
--- refpolicy-2.20170220.orig/policy/modules/contrib/monit.te
+++ refpolicy-2.20170220/policy/modules/contrib/monit.te
@@ -105,7 +109,7 @@ ifdef(`init_systemd',`
tunable_policy(`monit_startstop_services',`
init_get_all_units_status(monit_t)
init_get_system_status(monit_t)
- init_restart_script_service(monit_t)
+ init_startstop_all_script_services(monit_t)
init_start_all_units(monit_t)
init_stop_all_units(monit_t)
init_stream_connect(monit_t)


2017-02-20 14:06:10

by Chris PeBenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] tiny monit patch

On 02/20/17 00:38, Russell Coker via refpolicy wrote:
> The following patch fixes an issue due to a renamed interface. I'm sending it
> on it's own as it's important that the reference policy builds and I'm not
> ready to merge all the other monit policy yet.
>
> Index: refpolicy-2.20170220/policy/modules/contrib/monit.te
> ===================================================================
> --- refpolicy-2.20170220.orig/policy/modules/contrib/monit.te
> +++ refpolicy-2.20170220/policy/modules/contrib/monit.te
> @@ -105,7 +109,7 @@ ifdef(`init_systemd',`
> tunable_policy(`monit_startstop_services',`
> init_get_all_units_status(monit_t)
> init_get_system_status(monit_t)
> - init_restart_script_service(monit_t)
> + init_startstop_all_script_services(monit_t)
> init_start_all_units(monit_t)
> init_stop_all_units(monit_t)
> init_stream_connect(monit_t)

I fixed this one on my own when I saw the CI failure, but thanks anyway.

--
Chris PeBenito