[PATCH] varnishd: update fcontexts for vinyl-cache rename
Brett A C Sheffield <[email protected]> Sun, 29 Mar 2026 18:28:26 +0000
| Newsgroups | org.kernel.vger.selinux-refpolicy |
|---|---|
| Message-ID | <[email protected]> |
varnishd binaries and paths have changed from 9.0.0 Link: https://vinyl-cache.org/docs/9.0/whats-new/upgrading-9.0.html Signed-off-by: Brett A C Sheffield <[email protected]> --- policy/modules/services/varnishd.fc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/policy/modules/services/varnishd.fc b/policy/modules/services/varnishd.fc index c14077503..b4554c462 100644 --- a/policy/modules/services/varnishd.fc +++ b/policy/modules/services/varnishd.fc @@ -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) -- 2.52.0