File label_var_run_rsyslog.patch of Package selinux-policy.openSUSE_13.1_Update

Index: serefpolicy-3.12.1/policy/modules/system/logging.fc
===================================================================
--- serefpolicy-3.12.1.orig/policy/modules/system/logging.fc	2013-11-12 10:31:33.161234336 +0100
+++ serefpolicy-3.12.1/policy/modules/system/logging.fc	2013-11-13 15:31:41.233552569 +0100
@@ -83,6 +83,7 @@ ifdef(`distro_redhat',`
 /var/run/syslogd\.pid	--	gen_context(system_u:object_r:syslogd_var_run_t,mls_systemhigh)
 /var/run/syslog-ng.ctl	--	gen_context(system_u:object_r:syslogd_var_run_t,s0)
 /var/run/syslog-ng(/.*)?	gen_context(system_u:object_r:syslogd_var_run_t,s0)
+/var/run/rsyslog(/.*)?		gen_context(system_u:object_r:syslogd_var_run_t,s0)
 /var/run/systemd/journal/syslog	-s	gen_context(system_u:object_r:devlog_t,mls_systemhigh)
 
 /var/spool/audit(/.*)?		gen_context(system_u:object_r:audit_spool_t,mls_systemhigh)
Index: serefpolicy-3.12.1/policy/modules/system/init.te
===================================================================
--- serefpolicy-3.12.1.orig/policy/modules/system/init.te	2013-11-12 10:31:33.161234336 +0100
+++ serefpolicy-3.12.1/policy/modules/system/init.te	2013-11-18 12:50:40.828965515 +0100
@@ -1577,3 +1577,8 @@ ifdef(`direct_sysadm_daemon',`
     allow daemon direct_run_init:process sigchld;
     allow direct_run_init direct_init_entry:file { getattr open read execute };
 ')
+
+
+# relabel /var/run/rsyslog
+filetrans_pattern(init_t, var_run_t, syslogd_var_run_t, dir, "rsyslog")
+
openSUSE Build Service is sponsored by