All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH] Allow initrc_t to create /var/run/opendkim
@ 2013-11-03 14:11 Luis Ressel
  2013-11-03 16:08 ` Dominick Grift
  0 siblings, 1 reply; 2+ messages in thread
From: Luis Ressel @ 2013-11-03 14:11 UTC (permalink / raw)
  To: refpolicy

On Gentoo, /var/run/opendkim is created by the init system, therefore
init_daemon_run_dir() is required, otherwise the directory would get a
wrong label.
---
 policy/modules/contrib/dkim.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/policy/modules/contrib/dkim.te b/policy/modules/contrib/dkim.te
index 1c3545d..2383e24 100644
--- a/policy/modules/contrib/dkim.te
+++ b/policy/modules/contrib/dkim.te
@@ -31,3 +31,5 @@ dev_read_urand(dkim_milter_t)
 files_search_spool(dkim_milter_t)
 
 mta_read_config(dkim_milter_t)
+
+init_daemon_run_dir(dkim_milter_data_t, "opendkim")
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-03 16:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-03 14:11 [refpolicy] [PATCH] Allow initrc_t to create /var/run/opendkim Luis Ressel
2013-11-03 16:08 ` Dominick Grift

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.