varnishd: update fcontexts for vinyl-cache rename
PATCH 1/1 varnishd: update fcontexts for vinyl-cache rename
varnishd binaries and paths have changed from 9.0.0
Signed-off-by Brett A C Sheffield <[email protected]>
--- policy/modules/services/varnishd.fc | 13 +++++++++++++ 1 file changed, 13 insertions(+)
policy/modules/services/varnishd.fc +13 -0
@@ -1,19 +1,32 @@ /etc/rc\.d/init\.d/varnish -- gen_context(system_u:object_r:varnishd_initrc_exec_t,s0) /etc/rc\.d/init\.d/varnishlog -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) /etc/rc\.d/init\.d/varnishncsa -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinyld -- gen_context(system_u:object_r:varnishd_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinyllog -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinylncsa -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) /etc/varnish(/.*)? gen_context(system_u:object_r:varnishd_etc_t,s0) +/etc/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishd_etc_t,s0) /usr/bin/varnishd -- gen_context(system_u:object_r:varnishd_exec_t,s0) /usr/bin/varnishlog -- gen_context(system_u:object_r:varnishlog_exec_t,s0) /usr/bin/varnishncsa -- gen_context(system_u:object_r:varnishlog_exec_t,s0) +/usr/bin/vinyld -- gen_context(system_u:object_r:varnishd_exec_t,s0) +/usr/bin/vinyllog -- gen_context(system_u:object_r:varnishlog_exec_t,s0) +/usr/bin/vinylncsa -- gen_context(system_u:object_r:varnishlog_exec_t,s0) /usr/sbin/varnishd -- gen_context(system_u:object_r:varnishd_exec_t,s0) +/usr/sbin/vinyld -- gen_context(system_u:object_r:varnishd_exec_t,s0) /var/lib/varnish(/.*)? gen_context(system_u:object_r:varnishd_var_lib_t,s0) +/var/lib/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishd_var_lib_t,s0) /var/log/varnish(/.*)? gen_context(system_u:object_r:varnishlog_log_t,s0) +/var/log/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishlog_log_t,s0) /run/varnish\.pid -- gen_context(system_u:object_r:varnishd_runtime_t,s0) /run/varnishlog\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) /run/varnishncsa\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) +/run/vinyld\.pid -- gen_context(system_u:object_r:varnishd_runtime_t,s0) +/run/vinyllog\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) +/run/vinylncsa\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0)
Signature · 1 line
2.52.0
Quoted 35 lines · Brett A C Sheffield
varnishd binaries and paths have changed from 9.0.0
Signed-off-by Brett A C Sheffield <[email protected]>--- policy/modules/services/varnishd.fc | 13 +++++++++++++ 1 file changed, 13 insertions(+)policy/modules/services/varnishd.fc +9
-0@@ -1,19 +1,32 @@ /etc/rc\.d/init\.d/varnish -- gen_context(system_u:object_r:varnishd_initrc_exec_t,s0) /etc/rc\.d/init\.d/varnishlog -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) /etc/rc\.d/init\.d/varnishncsa -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinyld -- gen_context(system_u:object_r:varnishd_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinyllog -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) +/etc/rc\.d/init\.d/vinylncsa -- gen_context(system_u:object_r:varnishlog_initrc_exec_t,s0) /etc/varnish(/.*)? gen_context(system_u:object_r:varnishd_etc_t,s0) +/etc/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishd_etc_t,s0) /usr/bin/varnishd -- gen_context(system_u:object_r:varnishd_exec_t,s0) /usr/bin/varnishlog -- gen_context(system_u:object_r:varnishlog_exec_t,s0) /usr/bin/varnishncsa -- gen_context(system_u:object_r:varnishlog_exec_t,s0) +/usr/bin/vinyld -- gen_context(system_u:object_r:varnishd_exec_t,s0) +/usr/bin/vinyllog -- gen_context(system_u:object_r:varnishlog_exec_t,s0) +/usr/bin/vinylncsa -- gen_context(system_u:object_r:varnishlog_exec_t,s0) /usr/sbin/varnishd -- gen_context(system_u:object_r:varnishd_exec_t,s0) +/usr/sbin/vinyld -- gen_context(system_u:object_r:varnishd_exec_t,s0) /var/lib/varnish(/.*)? gen_context(system_u:object_r:varnishd_var_lib_t,s0) +/var/lib/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishd_var_lib_t,s0)
policy/modules/services/varnishd.fc line 32
Quoted 10 lines
policy/modules/services/varnishd.fc +4
-0/var/log/varnish(/.*)? gen_context(system_u:object_r:varnishlog_log_t,s0) +/var/log/vinyl-cache(/.*)? gen_context(system_u:object_r:varnishlog_log_t,s0) /run/varnish\.pid -- gen_context(system_u:object_r:varnishd_runtime_t,s0) /run/varnishlog\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) /run/varnishncsa\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) +/run/vinyld\.pid -- gen_context(system_u:object_r:varnishd_runtime_t,s0) +/run/vinyllog\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0) +/run/vinylncsa\.pid -- gen_context(system_u:object_r:varnishlog_runtime_t,s0)
Merged: https://github.com/SELinuxProject/refpolicy/pull/1099
Signature · 1 line
Chris PeBenito