selinux: Cover migration to /run

With the 1f76e522a ("Rename all /var/run file context entries to /run")
selinux-policy commit, all /var/run file context entries moved to /run
and the equivalency was inverted. Subsequently, changes in cockpit.fc
need to be done, too, in a similar manner.
This commit is contained in:
Zdenek Pytela 2024-02-06 20:03:40 +01:00 committed by Martin Pitt
parent 62aa77788e
commit 2c4f752473
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@
/var/lib/cockpit(/.*)? gen_context(system_u:object_r:cockpit_var_lib_t,s0)
/var/run/cockpit(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/run/cockpit(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/var/run/cockpit-ws(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/run/cockpit-ws(/.*)? gen_context(system_u:object_r:cockpit_var_run_t,s0)
/etc/cockpit/ws-certs\.d(/.*)? gen_context(system_u:object_r:cert_t,s0)