[refpolicy] [PATCH 2/4] appconfig: Add openrc_contexts file

Jason Zaman jason at perfinion.com
Sun May 7 17:44:56 UTC 2017


---
 Makefile                                  | 2 +-
 config/appconfig-mcs/openrc_contexts      | 1 +
 config/appconfig-mls/openrc_contexts      | 1 +
 config/appconfig-standard/openrc_contexts | 1 +
 4 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 config/appconfig-mcs/openrc_contexts
 create mode 100644 config/appconfig-mls/openrc_contexts
 create mode 100644 config/appconfig-standard/openrc_contexts

diff --git a/Makefile b/Makefile
index 2824a75..d19985e 100644
--- a/Makefile
+++ b/Makefile
@@ -255,7 +255,7 @@ seusers := $(appconf)/seusers
 appdir := $(contextpath)
 user_default_contexts := $(wildcard config/appconfig-$(TYPE)/*_default_contexts)
 user_default_contexts_names := $(addprefix $(contextpath)/users/,$(subst _default_contexts,,$(notdir $(user_default_contexts))))
-appfiles := $(addprefix $(appdir)/,default_contexts default_type initrc_context failsafe_context userhelper_context removable_context dbus_contexts sepgsql_contexts x_contexts customizable_types securetty_types lxc_contexts virtual_domain_context virtual_image_context) $(contextpath)/files/media $(fcsubspath) $(user_default_contexts_names)
+appfiles := $(addprefix $(appdir)/,default_contexts default_type initrc_context failsafe_context userhelper_context removable_context dbus_contexts sepgsql_contexts x_contexts customizable_types securetty_types lxc_contexts openrc_contexts virtual_domain_context virtual_image_context) $(contextpath)/files/media $(fcsubspath) $(user_default_contexts_names)
 net_contexts := $(builddir)net_contexts
 
 all_layers := $(shell find $(wildcard $(moddir)/*) -maxdepth 0 -type d)
diff --git a/config/appconfig-mcs/openrc_contexts b/config/appconfig-mcs/openrc_contexts
new file mode 100644
index 0000000..72f1894
--- /dev/null
+++ b/config/appconfig-mcs/openrc_contexts
@@ -0,0 +1 @@
+run_init=run_init_t
diff --git a/config/appconfig-mls/openrc_contexts b/config/appconfig-mls/openrc_contexts
new file mode 100644
index 0000000..72f1894
--- /dev/null
+++ b/config/appconfig-mls/openrc_contexts
@@ -0,0 +1 @@
+run_init=run_init_t
diff --git a/config/appconfig-standard/openrc_contexts b/config/appconfig-standard/openrc_contexts
new file mode 100644
index 0000000..72f1894
--- /dev/null
+++ b/config/appconfig-standard/openrc_contexts
@@ -0,0 +1 @@
+run_init=run_init_t
-- 
2.10.2



More information about the refpolicy mailing list