File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ gen_require(`
1111 type container_runtime_t, unconfined_service_t;
1212 type container_log_t;
1313 type syslogd_var_run_t;
14+ type var_log_t;
1415 class dir { read search };
1516 class file { open read };
1617 class lnk_file { getattr read };
@@ -26,3 +27,5 @@ allow rke_logreader_t container_var_lib_t:file { getattr open read };
2627allow rke_logreader_t container_var_lib_t:lnk_file { getattr read };
2728allow rke_logreader_t syslogd_var_run_t:dir read;
2829allow rke_logreader_t syslogd_var_run_t:file { getattr open read };
30+ allow rke_logreader_t var_log_t:dir read;
31+ allow rke_logreader_t var_log_t:file { getattr open read };
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ gen_require(`
1111 type container_runtime_t, unconfined_service_t;
1212 type container_log_t;
1313 type syslogd_var_run_t;
14+ type var_log_t;
1415 class dir { read search };
1516 class file { open read };
1617 class lnk_file { getattr read };
@@ -26,3 +27,5 @@ allow rke_logreader_t container_var_lib_t:file { getattr open read };
2627allow rke_logreader_t container_var_lib_t:lnk_file { getattr read };
2728allow rke_logreader_t syslogd_var_run_t:dir read;
2829allow rke_logreader_t syslogd_var_run_t:file { getattr map open read };
30+ allow rke_logreader_t var_log_t:dir read;
31+ allow rke_logreader_t var_log_t:file { getattr map open read };
You can’t perform that action at this time.
0 commit comments