diff options
Diffstat (limited to 'var-run-selinux.patch')
-rw-r--r-- | var-run-selinux.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var-run-selinux.patch b/var-run-selinux.patch new file mode 100644 index 0000000..511fe00 --- /dev/null +++ b/var-run-selinux.patch @@ -0,0 +1,26 @@ +From 750c5e288f8253c71a9722da960addb078aee93c Mon Sep 17 00:00:00 2001 +From: Zdenek Pytela <zpytela@redhat.com> +Date: Tue, 6 Feb 2024 21:17:27 +0100 +Subject: [PATCH] Rename all /var/run file context entries 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 fapolicyd.fc +need to be done, too, in a similar manner. +--- + fapolicyd.fc | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/fapolicyd-selinux-0.7/fapolicyd.fc b/fapolicyd-selinux-0.7/fapolicyd.fc +index 2bdc7aa..d081dc8 100644 +--- a/fapolicyd-selinux-0.7/fapolicyd.fc ++++ b/fapolicyd-selinux-0.7/fapolicyd.fc +@@ -8,6 +8,6 @@ + + /var/log/fapolicyd-access.log -- gen_context(system_u:object_r:fapolicyd_log_t,s0) + +-/var/run/fapolicyd(/.*)? gen_context(system_u:object_r:fapolicyd_var_run_t,s0) ++/run/fapolicyd(/.*)? gen_context(system_u:object_r:fapolicyd_var_run_t,s0) + +-/var/run/fapolicyd\.pid -- gen_context(system_u:object_r:fapolicyd_var_run_t,s0) ++/run/fapolicyd\.pid -- gen_context(system_u:object_r:fapolicyd_var_run_t,s0) |