Allow initrc_t to create /var/run/opendkim
PATCH 1/1 Allow initrc_t to create /var/run/opendkim
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(+)
policy/modules/contrib/dkim.te +2 -0
@@ -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")
Signature · 1 line
1.8.4.2
PATCH 1/1 Allow initrc_t to create /var/run/opendkim
Quoted 3 lines · Luis Ressel
On Gentoo,
/var/run/opendkimis created by the init system, thereforeinit_daemon_run_dir()is required, otherwise the directory would get a wrong label.
Thank you! This was merged
Quoted 14 lines
--- policy/modules/contrib/dkim.te | 2 ++ 1 file changed, 2 insertions(+)policy/modules/contrib/dkim.te +2
-0@@ -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")